Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
Get a job for a workflow run
GITHUB_GET_WORKFLOW_RUN_JOBRetrieves detailed information for a specific job within a GitHub Actions workflow run, given its `job_id` which must be valid for the specified repository's workflow.
Get workflow run usage
GITHUB_GET_WORKFLOW_RUN_USAGEGets the billable time, in milliseconds, for a specific workflow run, detailing time spent on various operating systems.
Get workflow usage
GITHUB_GET_WORKFLOW_USAGEGets the billable time (in milliseconds, broken down by runner OS) for a specific workflow within a repository for the current billing cycle.
Check if repo starred by auth user
GITHUB_IS_REPOSITORY_STARRED_BY_THE_USERUse to determine if the authenticated user has starred a specific GitHub repository, which is confirmed by an HTTP 204 status (resulting in an empty dictionary in the response data); the action fails (e.g., HTTP 404) if the repository is not starred or does not exist.
List accepted assignments for an assignment
GITHUB_LIST_ACCEPTED_ASSIGNMENTS_FOR_AN_ASSIGNMENTLists accepted assignments (student repositories created after acceptance) for an existing GitHub Classroom assignment, identified by its unique `assignment_id`.
List repositories accessible via GitHub App installation
GITHUB_LIST_ACCESSIBLE_REPOSITORIESLists repositories that the authenticated user can access through a specific GitHub App installation. Returns repositories where the user has explicit :read, :write, or :admin permission through the installation. The response includes permission details for each repository. Prerequisites: - Requires a GitHub App user access token (not a standard OAuth token) - Use GITHUB_LIST_APP_INSTALLATIONS first to get valid installation IDs
List app installations for user token
GITHUB_LIST_APP_INSTALLATIONSLists a page of GitHub App installations accessible to the authenticated user, including installation details, permissions, and repository access. Supports page and page-size selection and returns the total count of accessible installations.
Get apps with access to the protected branch
GITHUB_LIST_APPS_WITH_ACCESS_TO_THE_PROTECTED_BRANCHLists GitHub Apps with push access to a repository's protected branch. A 404 returns no app list and an explanatory message; it can indicate a missing branch or unavailable restrictions.
List artifacts for a repository
GITHUB_LIST_ARTIFACTS_FOR_A_REPOSITORYLists GitHub Actions workflow artifacts for a specified repository, which must exist.
List assignees
GITHUB_LIST_ASSIGNEESLists users who can be assigned to issues in a repository, typically those with push access.
List assignments for a classroom
GITHUB_LIST_ASSIGNMENTS_FOR_A_CLASSROOMLists a page of assignments for an accessible GitHub Classroom, with page and page-size controls.
List attestation repositories
GITHUB_LIST_ATTESTATION_REPOSITORIESTool to list attestation repositories for an organization. Use when you need to discover which repositories in an organization have attestations. Attestations provide verifiable metadata about software artifacts.