Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get a label
GITHUB_GET_LABELRetrieves a specific label by its name from a specified GitHub repository.
Get latest pages build
GITHUB_GET_LATEST_PAGES_BUILDRetrieves information about the most recent GitHub Pages build for a repository, which must exist, be accessible, have GitHub Pages enabled, and have at least one prior build.
Get a license
GITHUB_GET_LICENSECall this action to retrieve comprehensive details for a specific software license recognized by GitHub, using its unique license key.
Get License (GraphQL)
GITHUB_GET_LICENSE_GRAPH_QLTool to look up an open source license by its SPDX ID using GitHub's GraphQL API. Use when you need to fetch license details for compliance tracking or repository setup.
Get octocat
GITHUB_GET_OCTOCATFetches an ASCII art representation of GitHub's Octocat, suitable for text-based displays.
Customize OIDC subject claim template
GITHUB_GET_OIDC_SUBJECT_CLAIM_TEMPLATERetrieves the OpenID Connect (OIDC) subject claim customization template for a repository's GitHub Actions workflows. The validated response has no declared template fields.
Get allowed actions and workflows for an org
GITHUB_GET_ORG_ALLOWED_ACTIONSGets the list of allowed actions and reusable workflows for an organization when the 'allowed_actions' policy is set to 'selected'.
Get organization audit log
GITHUB_GET_ORGANIZATION_AUDIT_LOGTool to retrieve an organization's audit log events for security and compliance investigations. Use when tracking organizational changes, security audits, or compliance monitoring. Requires organization owner permissions and read:audit_log scope.
Get a custom property for an organization
GITHUB_GET_ORGANIZATION_CUSTOM_PROPERTYRetrieves the definition (schema) of a specific, existing custom property for an organization.
Get organization membership for user
GITHUB_GET_ORGANIZATION_MEMBERSHIP_FOR_USERReturn a named user's membership state and role in a GitHub organization.
Get organization project item
GITHUB_GET_ORGANIZATION_PROJECT_ITEMTool to get an item from an organization-owned GitHub Projects V2 project. Use when you need to retrieve details about a specific project item including its content, fields, timestamps, and creator information.
Get organization public key for Codespaces secrets
GITHUB_GET_ORGANIZATION_PUBLIC_KEYRetrieves an organization's public key, which must be used to encrypt secret values before they are configured for Codespaces.
Fetch Public Key For Secret Encryption
GITHUB_GET_ORGANIZATION_PUBLIC_KEY_FOR_DEPENDABOTRetrieves the public key for an existing GitHub organization, required for encrypting Dependabot secrets. Requires admin:org scope.
Get organization teams
GITHUB_GET_ORGANIZATION_TEAMSRetrieves a list of teams for a specified GitHub organization. Use this action when you need to list all teams, find team information, or explore team structure within an organization. Requires read:org scope and returns paginated results.
Get org dev environment secret safely
GITHUB_GET_ORG_DEV_ENVIRONMENT_SECRET_SAFELYRetrieves metadata for a specific secret available to an organization's GitHub Codespaces without exposing its encrypted value.
Get custom OIDC subject claim template
GITHUB_GET_ORG_OIDC_SUBJECT_CLAIM_TEMPLATERetrieves the OpenID Connect (OIDC) subject claim customization template for a GitHub organization, which defines how the `sub` claim in OIDC tokens for workflows is constructed.
Get a dns health check for github pages
GITHUB_GET_PAGES_DNS_HEALTH_CHECKRetrieves the DNS health check status (e.g., CNAME/A records, HTTPS) for a GitHub Pages site; the check may be pending (HTTP 202) on initial calls or after site changes.
Get a GitHub Pages site
GITHUB_GET_PAGES_SITERetrieves information for a GitHub Pages site, which must be enabled for the repository.
Get page views
GITHUB_GET_PAGE_VIEWSRetrieves page view statistics for a repository over the last 14 days, including total views, unique visitors, and a daily or weekly breakdown.
Get parent issue
GITHUB_GET_PARENT_ISSUERetrieve the parent issue of a GitHub sub-issue.