Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
Get repository star history
GITHUB_GET_REPOSITORY_STAR_HISTORYGets one page of up to 30 privacy-safe weekly star-count records, newest first. Increase `page` to move backward in a repository's history.
Get a delivery for a repository webhook
GITHUB_GET_REPOSITORY_WEBHOOK_DELIVERYRetrieves a specific delivery for a repository webhook, identified by its `hook_id` and `delivery_id`.
Get rules for a branch
GITHUB_GET_RULES_FOR_A_BRANCHRetrieves a page of active rules for a specific branch in a GitHub repository, excluding rules in 'evaluate' or 'disabled' status.
Get Organization Dependabot Secret
GITHUB_GET_SINGLE_ORG_SECRET_WITHOUT_DECRYPTIONGets a single organization Dependabot secret's metadata (name, timestamps, visibility) without revealing its encrypted value. Requires admin:org scope.
Get status checks protection
GITHUB_GET_STATUS_CHECKS_PROTECTIONRetrieves the status check protection settings for a specific branch in a GitHub repository, if status check protection is enabled for it.
Get team members
GITHUB_GET_TEAM_MEMBERSRetrieves one page of members for a specific team within an organization, including members of child teams, optionally filtered by role. Requires the authenticated user to have read access to the team.
Get team membership for a user
GITHUB_GET_TEAM_MEMBERSHIP_FOR_A_USERRetrieves a user's role and membership status in a GitHub organization team. A successful lookup returns the role and state; is_member=False can also indicate access denial or a missing team or organization, not just non-membership.
Get teams with access to the protected branch
GITHUB_GET_TEAMS_WITH_ACCESS_TO_THE_PROTECTED_BRANCHLists teams with explicit push access to a protected branch. A 404 response is returned as an empty teams list, which can also reflect a missing branch or absent branch protection.