List keys
tailscale_list_keysLists tailnet auth keys, API access tokens, OAuth clients, and federated identities; set all=true for a tailnet-wide key list subject to read scopes.
Instructions
List keys in your tailnet: auth keys, API access tokens, OAuth clients and federated identities. Without 'all', what comes back depends on the credential this server runs on -- a user-owned API key sees only that user's keys (including the API access token the server itself is using, keyType 'api'); an OAuth-client token sees the tailnet's OAuth clients; a federated-identity token sees its federated identities. Set 'all' to true for the tailnet-wide list (needs the matching :read scopes; only 'all:read' and 'all' return every API access token).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tailscale_list_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | When true, list keys tailnet-wide instead of the credential-dependent default set. Default: false |