Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Download an artifact
GITHUB_DOWNLOAD_AN_ARTIFACTDownloads a GitHub Actions workflow artifact as a ZIP file. Returns the artifact as a downloadable file. Use GITHUB_LIST_ARTIFACTS_FOR_A_REPOSITORY or GITHUB_LIST_WORKFLOW_RUN_ARTIFACTS to get valid artifact IDs first.
Download a repository tarball
GITHUB_DOWNLOAD_A_REPOSITORY_ARCHIVE_TARGets a redirect URL for downloading a repository tarball at a specific Git reference. For private repositories, the URL expires after five minutes.
Download a repository archive ZIP
GITHUB_DOWNLOAD_A_REPOSITORY_ARCHIVE_ZIPRequests a ZIP archive of a repository at a specific Git reference (branch, tag, or commit SHA) and returns the redirect URL for downloading it. For private repositories, the URL expires after five minutes.
Download job logs for a workflow run
GITHUB_DOWNLOAD_JOB_LOGS_FOR_A_WORKFLOW_RUNDownloads logs for a specific job in a GitHub Actions workflow run, contingent on the repository's existence and the job ID being valid and having produced logs.
Download workflow run attempt logs
GITHUB_DOWNLOAD_WORKFLOW_RUN_ATTEMPT_LOGSDownloads a ZIP archive of logs for a specific workflow run attempt. Returns a downloadable ZIP file containing logs for all jobs and steps in the workflow run.
Download workflow run logs
GITHUB_DOWNLOAD_WORKFLOW_RUN_LOGSDownloads logs for a specific GitHub Actions workflow run as a ZIP archive containing log files for each job in the workflow.
Export an SBOM for a repository
GITHUB_EXPORT_SBOM_FOR_REPOExports the software bill of materials (SBOM) in SPDX JSON format for a repository, if its dependency graph is enabled and it has at least one commit.
Find Pull Requests
GITHUB_FIND_PULL_REQUESTSSearches pull requests by repository, author, state, labels, merge status, and other filters; without a repository or owner, it searches public repositories by default or PRs involving the authenticated user when requested. Search results are capped at approximately 1,000; creation and update date filters do not filter merge dates.
Find Repositories
GITHUB_FIND_REPOSITORIESSearch GitHub repositories by keywords, language, stars, topics, and ownership, returning paginated results. Repository qualifiers are reduced to owner filters, an owner with no public repositories can yield an immediate empty result, and OR expressions are limited to six terms; check incomplete_results for non-exhaustive results.
Get a blob
GITHUB_GET_A_BLOBRetrieves the raw, typically Base64-encoded, content of a file (blob) from a GitHub repository using its SHA hash, if the repository and blob SHA exist.
Get a branch
GITHUB_GET_A_BRANCHRetrieves detailed information for a specified branch within a GitHub repository.
Get access restrictions
GITHUB_GET_ACCESS_RESTRICTIONSRetrieves user, team, and GitHub App push restrictions for a protected branch. A 404 is returned as a message indicating that restrictions were not found; it can also mean the branch does not exist or is not protected.
Get a commit
GITHUB_GET_A_COMMITRetrieves a specific commit from a repository by its owner, name, and a valid commit reference (SHA, branch, or tag), supporting pagination for large diffs.
Get admin branch protection
GITHUB_GET_ADMIN_BRANCH_PROTECTIONChecks if repository administrators are subject to the branch protection rules on a specific branch.
Get all API versions
GITHUB_GET_ALL_API_VERSIONSRetrieves all officially supported, date-based (e.g., "2022-11-28") versions of the GitHub REST API from the /versions endpoint.
Get all contributor commit activity
GITHUB_GET_ALL_CONTRIBUTOR_COMMIT_ACTIVITYRetrieves commit activity (total commits, weekly additions/deletions/commits) for all contributors to a repository; may require a retry if GitHub returns 202 while preparing data.
Get all deployment protection rules for an environment
GITHUB_GET_ALL_DEPLOYMENT_PROTECTION_RULES_FOR_ENVLists all enabled custom deployment protection rules for a specific environment in a repository; the environment must exist and be configured for deployments.
Get a milestone
GITHUB_GET_A_MILESTONERetrieves detailed information for a specific milestone within a GitHub repository by its number.
Get an app
GITHUB_GET_AN_APPRetrieves publicly available information for an existing GitHub App, identified by its unique URL-friendly `app_slug`.
Get an artifact
GITHUB_GET_AN_ARTIFACTGets a specific artifact for a repository by `artifact_id`. This action retrieves the details of a specific artifact from a GitHub repository using the artifact's unique identifier. It allows users to access information about artifacts stored in the repository.