Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get the authenticated user
GITHUB_GET_THE_AUTHENTICATED_USERGets the profile information for the currently authenticated GitHub user, including potentially private details based on user settings.
Get the combined status for a specific reference
GITHUB_GET_THE_COMBINED_STATUS_FOR_A_SPECIFIC_REFERENCERetrieves the combined commit status and status entries for a specific reference (SHA, branch, or tag) in a GitHub repository.
Get the hourly commit count for each day
GITHUB_GET_THE_HOURLY_COMMIT_COUNT_FOR_EACH_DAYRetrieves the 'punch card' data, showing hourly commit counts for each day of the week for an existing and accessible repository.
Get the last year of commit activity
GITHUB_GET_THE_LAST_YEAR_OF_COMMIT_ACTIVITYFetches weekly commit totals and daily commit counts for the last 52 weeks for a specified GitHub repository.
Get the latest release
GITHUB_GET_THE_LATEST_RELEASEFetches the latest official (non-prerelease, non-draft) release for a GitHub repository; requires at least one such published release.
Get the license for a repository
GITHUB_GET_THE_LICENSE_FOR_A_REPOSITORYRetrieves the license file and its details for a repository, optionally from a specific Git reference (branch, tag, or commit SHA).
Get the review history for a workflow run
GITHUB_GET_THE_REVIEW_HISTORY_FOR_A_WORKFLOW_RUNRetrieves the detailed approval history for a specific workflow run in a GitHub repository, detailing each review's environment, state, reviewer, and comments, to track the approval process for workflows, particularly automated deployments.
Get the status of a GitHub Pages deployment
GITHUB_GET_THE_STATUS_OF_A_GITHUB_PAGES_DEPLOYMENTRetrieves the status of a specific GitHub Pages deployment for a repository, which must have GitHub Pages enabled.
Get the weekly commit activity
GITHUB_GET_THE_WEEKLY_COMMIT_ACTIVITYFetches the weekly commit activity (additions and deletions per week) for a repository over the past year; best for repositories with under 10,000 commits.
Get the weekly commit count
GITHUB_GET_THE_WEEKLY_COMMIT_COUNTRetrieves the weekly commit count for a repository, detailing commits by the owner and all contributors over the last 52 weeks; GitHub may return a 202 status or an empty response if statistics are being computed.
Get the Zen of GitHub
GITHUB_GET_THE_ZEN_OF_GITHUBRetrieves a random quote from GitHub's 'Zen of GitHub' collection, reflecting GitHub's design philosophies and offering humorous insights, useful for displaying GitHub wisdom or a lighthearted message.
Get top referral paths
GITHUB_GET_TOP_REFERRAL_PATHSFetches the top 10 most viewed content paths for a repository from the last 14 days.
Get top referral sources
GITHUB_GET_TOP_REFERRAL_SOURCESFetches the top 10 websites that referred traffic to a repository within the last 14 days.
Get user by ID
GITHUB_GET_USER_BY_IDRetrieves a GitHub user's profile information by their unique numeric account ID. Use when you know the user's numeric ID rather than their username.
Get user project item
GITHUB_GET_USER_PROJECT_ITEMTool to get an item from a user-owned project in GitHub Projects V2. Use when you need to retrieve details about a specific item (issue, pull request, or draft issue) in a user's project board.
Get user attestations by subject digest
GITHUB_GET_USERS_ATTESTATIONSRetrieves attestations for a GitHub user and subject digest, with optional predicate filtering and pagination. A GitHub 404 is returned as an empty attestation list.
Get user's projects v2
GITHUB_GET_USERS_PROJECTS_V2Tool to list GitHub Projects v2 for a specified user. Use when you need to retrieve all projects owned by a user with pagination support.
Get users with access to the protected branch
GITHUB_GET_USERS_WITH_ACCESS_TO_THE_PROTECTED_BRANCHLists users with explicit push access to a protected branch through its push restrictions. A 404 response is returned as an empty user list, including when the branch or repository is inaccessible or missing.
Get Viewer via GraphQL
GITHUB_GET_VIEWER_GRAPHQLTool to retrieve the authenticated user's profile information via GitHub GraphQL. Use when working with GraphQL queries or need viewer details in GraphQL format.
Get workflow external access level
GITHUB_GET_WORKFLOW_EXTERNAL_ACCESSGets the access level settings for a private repository, determining how workflows outside this repository can use its actions and reusable workflows.