Get-GitHubAgentAutomationAvailableRepoAutomationTools

SYNOPSIS

List available automation tools for a repository

SYNTAX

__AllParameterSets

Get-GitHubAgentAutomationAvailableRepoAutomationTools [-Owner] <string> [-Repo] <string>
 [-Accept <string>]

ALIASES

This cmdlet has the following aliases,

  • Get-GHAgentAutomationAvailableRepoAutomationTools

DESCRIPTION

The Get-GitHubAgentAutomationAvailableRepoAutomationTools cmdlet invokes the GET method of the /agents/repos/{owner}/{repo}/automations/available-tools endpoint (List available automation tools for a repository)

[!NOTE] This endpoint is in public preview and is subject to change.

Lists available tools for automations in a repository, including both GitHub-provided tools and tools provided by custom MCP servers.

GitHub-provided tools are returned in named groups, with a name and description provided for each tool.

MCP entries describe configured tool selection, not live discovery or runtime availability. An explicit allowlist is returned in ‘tools’, with each ‘id’ in ‘/' format, for example 'sentry/list_issues'. An allowlist of '["*"]' is returned as 'supports_wildcard: true' with an empty 'tools' array. Server URLs, authentication headers, environment variables, and credentials are never returned.

For MCP tools, a list of configured MCP servers is provided, along with the tools allowlisted for each server. Where ‘supports_wildcard’ is true, any tool that exists on the server can be used.

GitHub App installation access tokens can list available automation tools. The installation must belong to the repository owner and the token must have “Agent tasks” repository permissions (read).

To call this endpoint, OAuth app tokens and personal access tokens (classic) need the ‘repo’ scope.

Fine-grained access tokens for “List available automation tools for a repository”

This endpoint works with the following fine-grained token types:

  • GitHub App user access tokens (https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app)
  • GitHub App installation access tokens (https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app)
  • Fine-grained personal access tokens (https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token)

The fine-grained token must have the following permission set:

  • “Agent tasks” repository permissions (read)

Endpoint: GET /agents/repos/{owner}/{repo}/automations/available-tools API version: 2026-03-10

EXAMPLES

EXAMPLE 1

Get-GitHubAgentAutomationAvailableRepoAutomationTools -Owner 'octocat' -Repo 'Hello-World'

Invokes GET /agents/repos/{owner}/{repo}/automations/available-tools

PARAMETERS

-Accept

The Accept header (media type) of the request Default value: application/vnd.github+json

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Owner

The account owner of the repository. The name is not case sensitive.

Path parameter [ owner ]

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Repo

The name of the repository. The name is not case sensitive.

Path parameter [ repo ]

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 1
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Objects with properties named like the path parameters can be piped to this function

{{ Fill in the Description }}

System.String

{{ Fill in the Description }}

OUTPUTS

The response of the GitHub API (objects

{{ Fill in the Description }}

NOTES

OperationId: agent-automations/list-available-repo-automation-tools Category: agent-automations / agent-automations