Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Revoke an installation access token
GITHUB_REVOKE_AN_INSTALLATION_ACCESS_TOKENRevokes the GitHub App's current installation access token, immediately invalidating it for API authentication. IMPORTANT: This endpoint requires a GitHub App installation access token (ghs_* prefix) for authentication. OAuth tokens (gho_*) or personal access tokens are not supported and will result in a 403 Forbidden error. After successful revocation, the token becomes permanently invalid and cannot be used for any subsequent API calls. To continue API operations, a new installation access token must be generated.
Set admin branch protection
GITHUB_SET_ADMIN_BRANCH_PROTECTIONEnables administrator enforcement on a branch, making existing protection rules also apply to administrators; branch protection rules must already be configured.
Set app access restrictions
GITHUB_SET_APP_ACCESS_RESTRICTIONSReplaces the list of GitHub Apps permitted to push to a protected branch; the branch must have push restrictions configured, and apps must be installed with contents write permission on an eligible organization repository. A 404 returns an empty app list with an explanatory message.
Set a repository subscription
GITHUB_SET_A_REPOSITORY_SUBSCRIPTIONSets the authenticated user's notification subscription for a repository.
Set a thread subscription
GITHUB_SET_A_THREAD_SUBSCRIPTIONSets whether a GitHub notification thread is ignored (muted) or unignored (unmuted), for a `thread_id` that must identify an existing notification thread.
Set default workflow permissions for an organization
GITHUB_SET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_AN_ORGANIZATIONUpdates an organization's default GITHUB_TOKEN permissions for workflows and whether GitHub Actions can approve pull requests; note that allowing Actions to approve pull requests (`can_approve_pull_request_reviews: true`) is a security risk.
Set default workflow permissions for a repository
GITHUB_SET_DEFAULT_WORKFLOW_PERMISSIONS_FOR_A_REPOSITORYSets the default permissions for the GITHUB_TOKEN within a repository and configures whether GitHub Actions can approve pull requests.
Set primary email visibility
GITHUB_SET_EMAIL_VISIBILITYSets the visibility ('public' or 'private') of the authenticated user's primary email address on GitHub, if one is configured.
Set GitHub Actions permissions for an organization
GITHUB_SET_GITHUB_ACTIONS_PERMISSIONS_FOR_AN_ORGANIZATIONSets the GitHub Actions permissions policy for an organization, specifying which repositories can run Actions and which actions/workflows are allowed; if 'selected' is chosen for either, manage the specific lists via other endpoints.
Set github actions permissions for a repository
GITHUB_SET_GITHUB_ACTIONS_PERMISSIONS_FOR_A_REPOSITORYSets GitHub Actions permissions for a repository, enabling/disabling Actions and defining the policy for allowed actions and reusable workflows.
Set interaction restrictions for an organization
GITHUB_SET_INTERACTION_RESTRICTIONS_FOR_AN_ORGANIZATIONLimits interactions (comments, new issues, PRs) in an organization's public repositories by user type and duration, typically to mitigate high traffic or unwanted activity.
Set interaction restrictions for a repository
GITHUB_SET_INTERACTION_RESTRICTIONS_FOR_A_REPOSITORYTemporarily limits which GitHub users (e.g., existing_users, contributors_only) can interact (comment, open issues, create pull requests) in a repository for a specified duration.
Set interaction restrictions for your public repositories
GITHUB_SET_INTERACTION_RESTRICTIONS_FOR_YOUR_PUBLIC_REPOSSets or updates temporary interaction restrictions for all public repositories owned by the authenticated user, overriding any repository-specific limits.
Set labels for an issue
GITHUB_SET_LABELS_FOR_AN_ISSUEReplaces all existing labels on a GitHub issue with a new set of labels.
Set custom OIDC subject claim template
GITHUB_SET_OIDC_SUBJECT_CLAIM_TEMPLATESets the OpenID Connect (OIDC) subject claim template for a GitHub repository, allowing use of the default template or a custom one defined by `include_claim_keys` if `use_default` is `false`.
Set allowed actions and workflows for an organization
GITHUB_SET_ORG_ALLOWED_ACTIONSSets the GitHub Actions permissions for an existing organization, specifying allowed GitHub-owned actions, verified creator actions, and action/workflow patterns from public repositories.
Set custom labels for a self-hosted runner for an organization
GITHUB_SET_ORG_RUNNER_LABELSSets the custom labels for a self-hosted runner in an organization; this operation does not affect default system-assigned labels (e.g., 'self-hosted', 'linux', 'x64').
Set repo allowed actions
GITHUB_SET_REPO_ALLOWED_ACTIONSSets allowed GitHub Actions and reusable workflows for a repository, managing permissions for GitHub-owned, verified creator, or specific pattern-matched actions/workflows (note: `patterns_allowed` applies only to public repositories).
Set custom labels for repo runner
GITHUB_SET_REPO_RUNNER_LABELSReplaces all custom labels for a specific self-hosted runner in a repository; an empty list for `labels` removes all existing custom labels.
Set selected repositories for an organization variable
GITHUB_SET_SELECTED_REPOS_FOR_ORG_VARIABLEReplaces the list of repositories that can access an organization-level variable; the variable's visibility must be 'selected'.