Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get a job for a workflow run
GITHUB_GET_WORKFLOW_RUN_JOBRetrieves detailed information for a specific job within a GitHub Actions workflow run, given its `job_id` which must be valid for the specified repository's workflow.
Get workflow run usage
GITHUB_GET_WORKFLOW_RUN_USAGEGets the billable time, in milliseconds, for a specific workflow run, detailing time spent on various operating systems.
Get workflow usage
GITHUB_GET_WORKFLOW_USAGEGets the billable time (in milliseconds, broken down by runner OS) for a specific workflow within a repository for the current billing cycle.
Check if repo starred by auth user
GITHUB_IS_REPOSITORY_STARRED_BY_THE_USERUse to determine if the authenticated user has starred a specific GitHub repository, which is confirmed by an HTTP 204 status (resulting in an empty dictionary in the response data); the action fails (e.g., HTTP 404) if the repository is not starred or does not exist.
List accepted assignments for an assignment
GITHUB_LIST_ACCEPTED_ASSIGNMENTS_FOR_AN_ASSIGNMENTLists accepted assignments (student repositories created after acceptance) for an existing GitHub Classroom assignment, identified by its unique `assignment_id`.
List repositories accessible via GitHub App installation
GITHUB_LIST_ACCESSIBLE_REPOSITORIESLists repositories that the authenticated user can access through a specific GitHub App installation. Returns repositories where the user has explicit :read, :write, or :admin permission through the installation. The response includes permission details for each repository. Prerequisites: - Requires a GitHub App user access token (not a standard OAuth token) - Use GITHUB_LIST_APP_INSTALLATIONS first to get valid installation IDs
List app installations for user token
GITHUB_LIST_APP_INSTALLATIONSLists a page of GitHub App installations accessible to the authenticated user, including installation details, permissions, and repository access. Supports page and page-size selection and returns the total count of accessible installations.
Get apps with access to the protected branch
GITHUB_LIST_APPS_WITH_ACCESS_TO_THE_PROTECTED_BRANCHLists GitHub Apps with push access to a repository's protected branch. A 404 returns no app list and an explanatory message; it can indicate a missing branch or unavailable restrictions.
List artifacts for a repository
GITHUB_LIST_ARTIFACTS_FOR_A_REPOSITORYLists GitHub Actions workflow artifacts for a specified repository, which must exist.
List assignees
GITHUB_LIST_ASSIGNEESLists users who can be assigned to issues in a repository, typically those with push access.
List assignments for a classroom
GITHUB_LIST_ASSIGNMENTS_FOR_A_CLASSROOMLists a page of assignments for an accessible GitHub Classroom, with page and page-size controls.
List attestation repositories
GITHUB_LIST_ATTESTATION_REPOSITORIESTool to list attestation repositories for an organization. Use when you need to discover which repositories in an organization have attestations. Attestations provide verifiable metadata about software artifacts.
List authenticated user SSH keys
GITHUB_LIST_AUTHENTICATED_USER_SSH_KEYSList public Git SSH keys owned by the connected GitHub user.
List available machine types for a repository
GITHUB_LIST_AVAILABLE_MACHINE_TYPES_FOR_A_REPOSITORYLists machine types available for GitHub Codespaces in a repository, optionally using a Git ref to check compatibility based on prebuild availability and devcontainer configurations.
List branches
GITHUB_LIST_BRANCHESLists a page of branches in a GitHub repository, optionally filtered by protection status. Returns branch names, commit information, and protection status.
List branches for head commit
GITHUB_LIST_BRANCHES_FOR_HEAD_COMMITLists branches in an accessible repository where the provided commit SHA is the head, useful for identifying development lines based on that commit.
List check run annotations
GITHUB_LIST_CHECK_RUN_ANNOTATIONSLists annotations for a specific check run in a GitHub repository, detailing issues like errors or warnings on particular code lines.
List check runs for a git ref
GITHUB_LIST_CHECK_RUNS_FOR_A_REFList GitHub check runs for a commit SHA, branch, or tag to assess CI status and conclusions. Results default to the latest runs; the filter can be set to include all runs.
List check runs in a check suite
GITHUB_LIST_CHECK_RUNS_IN_A_CHECK_SUITELists check runs for a specific check suite in a GitHub repository, optionally filtering by check name or status. Results default to the latest runs; the filter can be set to include all runs.
List check suites for a git reference
GITHUB_LIST_CHECK_SUITES_FOR_A_GIT_REFERENCELists check suites for a Git reference (commit SHA, branch, or tag) in a repository, optionally filtering by GitHub App ID or check run name.