Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get pending deployments for a workflow run
GITHUB_GET_PENDING_DEPLOYMENTS_FOR_A_WORKFLOW_RUNRetrieves pending deployment environments for a specific workflow run that are awaiting approval due to protection rules.
Get project permission for a user
GITHUB_GET_PROJECT_PERMISSION_FOR_A_USERRetrieves permission information for a GitHub project (classic) collaborator. Returns the permission level and may include the collaborator's GitHub user information.
Get public key for secret encryption
GITHUB_GET_PUBLIC_KEY_FOR_SECRET_ENCRYPTIONRetrieves a repository's public key for encrypting GitHub Codespaces secrets. For private repositories, classic OAuth or personal access tokens need the repo scope; fine-grained tokens need write permission for repository Codespaces secrets.
Get public key for the authenticated user
GITHUB_GET_PUBLIC_KEY_FOR_THE_AUTHENTICATED_USERRetrieves the authenticated user's public key for encrypting GitHub Codespaces secrets. The returned key must be used with libsodium sealed box encryption before creating or updating secrets via the API.
Get pull request review protection
GITHUB_GET_PULL_REQUEST_REVIEW_PROTECTIONRetrieves the pull request review protection settings for a specific branch in a GitHub repository, if such protection is configured.
Get Pull Requests
GITHUB_GET_PULL_REQUESTSRetrieves a page of pull requests from a repository, optionally filtered by state, base branch, or head branch and sorted by the selected order. Returns pull request details including title, state, author, labels, timestamps, and branch information.
Get rate limit status for the authenticated user
GITHUB_GET_RATE_LIMIT_STATUS_FOR_THE_AUTHENTICATED_USERRetrieves the authenticated user's current GitHub API rate limit status, including usage and limits across different resource categories.
Get Raw Repository Content
GITHUB_GET_RAW_REPOSITORY_CONTENTFetches raw file content from a GitHub repository as a downloadable file, without parsing or validating its format. Ensure owner, repo, ref, and path are consistent when combining with other GitHub tools.
Get allowed actions and workflows for a repository
GITHUB_GET_REPO_ALLOWED_ACTIONSGets the settings for allowed actions and reusable workflows in a repository. Requires the repository's `allowed_actions` policy to be set to `selected` (returns 409 if set to `all` or `local_only`).
Get repository development environment secret
GITHUB_GET_REPO_DEV_ENV_SECRETGets metadata (name, creation/update timestamps) for a specific, existing development environment secret (Codespaces secret) in a repository, without exposing its value.
Get repository attestations
GITHUB_GET_REPOS_ATTESTATIONSTool to retrieve attestations by subject digest from a GitHub repository. Use when you need to verify or check attestations for a specific artifact identified by its SHA256 digest.
Get repository clones
GITHUB_GET_REPOSITORY_CLONESRetrieves the total number of clones and a breakdown of clone activity (daily or weekly) for a specified repository over the preceding 14 days.
Get repository content
GITHUB_GET_REPOSITORY_CONTENTRetrieves a file's Base64-encoded content or lists a directory's contents in a GitHub repository. Specify a branch, tag, or commit to read from, or use the repository's default branch; an empty path lists the root directory.
Get repository Discussion thread
GITHUB_GET_REPOSITORY_DISCUSSION_THREADReads one repository Discussion with cursor-paginated top-level comments and up to the requested first replies for each comment.
Get Repository via GraphQL
GITHUB_GET_REPOSITORY_GRAPH_QLTool to lookup a repository by owner and name using GitHub's GraphQL API. Use when you need comprehensive repository information.
Get Repository Owner
GITHUB_GET_REPOSITORY_OWNERTool to lookup a repository owner (User or Organization) by login using GitHub's GraphQL API. Use when you need to determine whether a login is a user or organization and retrieve basic profile information.
Get repository permissions for a user
GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USERRetrieves a user's repository permission and assigned role, including custom roles. The legacy permission level is admin, write, read, or none; maintain maps to write and triage to read.
Retrieve repo public key for encryption
GITHUB_GET_REPOSITORY_PUBLIC_KEY_FOR_ENCRYPTIONGets a repository's public key, used to encrypt secrets for Dependabot.
Get repository secret securely
GITHUB_GET_REPOSITORY_SECRET_SECURELYRetrieves metadata for an existing Dependabot secret in a repository, without exposing its encrypted value.
Get repository security advisory
GITHUB_GET_REPOSITORY_SECURITY_ADVISORYTool to retrieve a repository security advisory using its GHSA identifier. Use when you need detailed information about a specific security vulnerability.