Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Search labels
GITHUB_SEARCH_LABELSSearches for labels within a GitHub repository by keywords in their names or descriptions.
Search repositories
GITHUB_SEARCH_REPOSITORIESSearches GitHub repositories using a flexible query (keywords, qualifiers) with sorting, ordering, and pagination. IMPORTANT: The 'q' parameter (search query) is REQUIRED and must always be provided.
Search topics
GITHUB_SEARCH_TOPICSFinds topics on GitHub using keywords and qualifiers with GitHub's search syntax, supporting pagination.
Search users
GITHUB_SEARCH_USERSSearches for users on GitHub by criteria like username, email, location, followers, or repository associations, using a flexible query string `q`.
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').