Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add social accounts for the authenticated user
GITHUB_ADD_SOCIAL_ACCOUNTS_FOR_AUTHENTICATED_USERAdds one or more social media links (which must be valid, full URLs for platforms supported by GitHub) to the authenticated user's public GitHub profile.
Add status check contexts
GITHUB_ADD_STATUS_CHECK_CONTEXTSAdds status check contexts to a protected branch's required status checks. This action appends new status check contexts to the existing list of required status checks for a protected branch. The branch must already have branch protection enabled with status checks configured. Note: The 'contexts' parameter is deprecated by GitHub in favor of 'checks' array. For new implementations, consider using update_status_check_protection with the 'checks' parameter instead.
Add sub-issue to an issue
GITHUB_ADD_SUB_ISSUETool to add a sub-issue to a parent GitHub issue using GraphQL. Use when you need to establish a parent-child relationship between issues. Requires the 'sub_issues' GraphQL feature to be enabled.
Add team access restrictions
GITHUB_ADD_TEAM_ACCESS_RESTRICTIONSAdds teams to the list of teams with push access to a protected branch. This action grants additional teams push access to a protected branch. Unlike 'Set team access restrictions' (PUT), this action adds to the existing list rather than replacing it entirely. Prerequisites: - The repository must be owned by an organization (not a personal account) - The branch must have protection rules enabled - The branch protection must have restrictions configured - The teams must exist in the organization and have repository access
Add user access restrictions
GITHUB_ADD_USER_ACCESS_RESTRICTIONSAdds users to the list of people allowed to push to a protected branch in an organization repository. Important notes: - This action only works on organization-owned repositories (not personal repos) - The branch must already have protection rules with restrictions enabled - Users must have write access to the repository to be added - The combined total of users, apps, and teams is limited to 100 items
Add users to codespaces access for an organization
GITHUB_ADD_USERS_TO_CODESPACES_ACCESS_FOR_ORGANIZATIONAdds organization members to the list of users granted Codespaces access billed to the organization. IMPORTANT: This endpoint requires the organization's Codespaces billing access to be set to 'selected_members' mode. If not already configured, use the GITHUB_MANAGE_ACCESS_CONTROL_FOR_ORGANIZATION_CODESPACES action first to set visibility to 'selected_members'.
Get GitHub API root
GITHUB_API_ROOTRetrieves a map of all top-level GitHub REST API resource URLs and their templates.
Approve a workflow run for a fork pull request
GITHUB_APPROVE_WORKFLOW_RUN_FOR_FORK_PULL_REQUESTApproves a workflow run from a forked repository's pull request; call this when such a run requires manual approval due to workflow configuration.
Assign an organization role to a team
GITHUB_ASSIGN_ORGANIZATION_ROLE_TO_TEAMAssigns an existing organization-level role (identified by `role_id`) to a team (identified by `team_slug`) within a GitHub organization (`org`), provided the organization, team, and role already exist.
Assign an organization role to a user
GITHUB_ASSIGN_ORGANIZATION_ROLE_TO_USERAssigns a specific organization role to a user who is a member or an outside collaborator in a GitHub organization, using a valid role ID.
Block a user
GITHUB_BLOCK_USERBlocks an existing individual GitHub user (not an organization or your own account), preventing them from interacting with your account and repositories.
Block a user from an organization
GITHUB_BLOCK_USER_FROM_ORGANIZATIONBlocks a GitHub user from an organization, preventing contributions, collaboration, and forking of its repositories; requires admin or 'Blocking users' organization permission. Certain permission and validation errors return a response with success=false.
Cancel a GitHub Pages deployment
GITHUB_CANCEL_GITHUB_PAGES_DEPLOYMENTCancels an existing, ongoing or queued GitHub Pages deployment for a repository using its `pages_deployment_id`.
Cancel sponsorship
GITHUB_CANCEL_SPONSORSHIPTool to cancel an active GitHub sponsorship using GraphQL. Use when you need to terminate a sponsorship relationship between a sponsor and a sponsorable entity. Either sponsor ID/login and sponsorable ID/login must be provided.
Cancel a workflow run
GITHUB_CANCEL_WORKFLOW_RUNRequests cancellation of a workflow run in a GitHub repository if it is in a cancellable state, such as in progress or queued. Returns an acceptance message when GitHub accepts the request; cancellation may take time to complete.
Check if following user
GITHUB_CHECK_FOLLOWINGCheck if the authenticated user is following a specified person on GitHub. Use this action when you need to verify whether the currently authenticated user follows another GitHub user. The action returns a boolean status and descriptive message.
Check if a gist is starred
GITHUB_CHECK_IF_GIST_IS_STARREDChecks whether the authenticated user has starred a GitHub gist. Returns true for HTTP 204 or 304 and false for HTTP 404; an unexpected successful status also yields false with a status message.
Check if pull request merged
GITHUB_CHECK_IF_PULL_REQUEST_HAS_BEEN_MERGEDChecks if a specified GitHub pull request has been merged, indicated by a 204 HTTP status (merged) or 404 (not merged/found).
Check if pull request merged
GITHUB_CHECK_IF_PULL_REQUEST_MERGEDChecks whether a GitHub pull request has been merged. Returns merged=True for HTTP 204 and merged=False for HTTP 404; a 404 can also mean the pull request does not exist.
Check if a user can be assigned
GITHUB_CHECK_IF_USER_CAN_BE_ASSIGNEDVerifies if a GitHub user can be assigned to issues in a repository; assignability is confirmed by an HTTP 204 (No Content) response, resulting in an empty 'data' field in the response.