Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get an organization secret
GITHUB_GET_AN_ORGANIZATION_SECRETGets an organization secret's metadata (e.g., name, creation/update dates, visibility), but not its encrypted value.
Get an organization variable
GITHUB_GET_AN_ORGANIZATION_VARIABLERetrieves details (name, value, visibility, timestamps) of a specific, existing variable for an existing GitHub organization.
Get an organization webhook
GITHUB_GET_AN_ORGANIZATION_WEBHOOKRetrieves the full configuration, including subscribed events and delivery settings, for an existing organization webhook.
Get a package for an organization
GITHUB_GET_A_PACKAGE_FOR_AN_ORGANIZATIONRetrieves a specific package (by type and name) from an organization, if both the package and organization exist.
Get a package for a user
GITHUB_GET_A_PACKAGE_FOR_A_USERRetrieves metadata for a specific package owned by a GitHub user, using package type, name, and username as identifiers.
Get a package for the authenticated user
GITHUB_GET_A_PACKAGE_FOR_THE_AUTHENTICATED_USERRetrieves detailed information for a specific package owned by the authenticated user.
Get a package version for an organization
GITHUB_GET_A_PACKAGE_VERSION_FOR_AN_ORGANIZATIONRetrieves detailed information for a specific version of a package within an organization.
Get a package version for a user
GITHUB_GET_A_PACKAGE_VERSION_FOR_A_USERRetrieves a specific public package version associated with a GitHub user.
Get authenticated user package version
GITHUB_GET_A_PACKAGE_VERSION_FOR_THE_AUTHENTICATED_USERRetrieves detailed information for an existing specific package version associated with the authenticated user, identified by its type, name, and version ID.
Get a project
GITHUB_GET_A_PROJECTRetrieves detailed information for a specific GitHub project (V2) using its project number and owner. Note: This action uses GitHub's Projects V2 REST API. The legacy Projects (classic) REST API was sunset on April 1, 2025. The project is identified by its number (visible in the project URL) and owner (either a username or organization name). If no owner is specified, the authenticated user is assumed.
Get a project card
GITHUB_GET_A_PROJECT_CARDRetrieves a GitHub Projects (classic) card by ID to inspect its details, such as its note or linked content and project column. DEPRECATED: The Projects (classic) REST API has been sunset on GitHub.com. Use GitHub Projects V2 instead.
Get a pull request
GITHUB_GET_A_PULL_REQUESTRetrieves a specific pull request from a GitHub repository using its owner, repository name, and pull request number.
Get a reference
GITHUB_GET_A_REFERENCERetrieves a specific Git reference (e.g., a branch, tag, or fully qualified like 'heads/main') from a GitHub repository. The reference must exist in the repository; use 'list_matching_references' first if unsure what references are available.
Get a release
GITHUB_GET_A_RELEASEGets a specific release from a GitHub repository, provided the repository is accessible and the release exists.
Get a release asset
GITHUB_GET_A_RELEASE_ASSETGets metadata for a specific release asset in a GitHub repository, including a `browser_download_url` for downloading the asset.
Get a release by tag name
GITHUB_GET_A_RELEASE_BY_TAG_NAMEGets a release from a GitHub repository by its tag name; the repository and a release with this tag must already exist.
Get a repository
GITHUB_GET_A_REPOSITORYRetrieves detailed information about an existing and accessible GitHub repository.
Get a repository public key
GITHUB_GET_A_REPOSITORY_PUBLIC_KEYGets a repository's public key for encrypting secrets to be used in GitHub Actions, if the repository exists and is accessible.
Get a repository readme
GITHUB_GET_A_REPOSITORY_READMEFetches the README file (if it exists and is accessible) from a specified GitHub repository, returning its Base64-encoded content and metadata.
Get a repository readme for a directory
GITHUB_GET_A_REPOSITORY_README_FOR_A_DIRECTORYRetrieves the README file from a specified directory within a GitHub repository, optionally at a given commit, branch, or tag.