Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
Get an assignment
GITHUB_GET_AN_ASSIGNMENTRetrieves detailed information for a specific GitHub Classroom assignment if the authenticated user is an administrator of the classroom.
Get an autolink reference of a repository
GITHUB_GET_AN_AUTOLINK_REFERENCE_OF_A_REPOSITORYRetrieves a specific autolink reference (which automatically hyperlinks text like 'JIRA-123' to an external system) for a repository using its unique ID; requires administrator access to the repository.
Get an environment
GITHUB_GET_AN_ENVIRONMENTRetrieves the details of a specific deployment environment for a given repository, including its name, configurations, and current status.
Get an environment public key
GITHUB_GET_AN_ENVIRONMENT_PUBLIC_KEYRetrieves the public key for a specified GitHub repository environment, used to encrypt secrets for GitHub Actions.
Get an environment secret
GITHUB_GET_AN_ENVIRONMENT_SECRETRetrieves metadata (name and timestamps) for a single secret in a GitHub Actions environment. Note: The actual secret value is never returned by this API for security reasons.
Get an environment variable
GITHUB_GET_AN_ENVIRONMENT_VARIABLERetrieves a specific environment variable from a GitHub Actions environment by repository owner, repository name, environment name, and variable name.
Get an issue
GITHUB_GET_AN_ISSUERetrieves detailed information about a specific issue in a repository using the owner, repository name, and issue number.
Get an issue comment
GITHUB_GET_AN_ISSUE_COMMENTAction to get an issue comment.
Get an issue event
GITHUB_GET_AN_ISSUE_EVENTFetches details of a specific issue event for a given repository and event ID.
Get an organization
GITHUB_GET_AN_ORGANIZATIONGet an organization
Get an organization public key
GITHUB_GET_AN_ORGANIZATION_PUBLIC_KEYRetrieves a GitHub organization's Actions secrets public key for encrypting organization secrets.
Get an organization role
GITHUB_GET_AN_ORGANIZATION_ROLERetrieves a specific GitHub organization role by its ID.