Update key
tailscale_update_keyUpdate an existing Tailscale key's description, scopes, tags, or federated identity settings; auth keys accept only description.
Instructions
Update an existing key. Supported fields depend on the key type: all key types accept 'description'; OAuth clients and federated identities additionally accept 'scopes' and 'tags'; federated identities additionally accept 'issuer', 'subject', 'audience', and 'customClaimRules'. For auth keys, pass only 'description' -- the Tailscale API will reject other fields.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"keyId": "<keyId>"
},
"name": "tailscale_update_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Updated ACL tags (must start with 'tag:') | |
| keyId | Yes | The key ID to update | |
| issuer | No | (federated only) Updated OIDC issuer URL | |
| scopes | No | (client/federated) Updated OAuth scopes | |
| subject | No | (federated only) Updated subject claim pattern | |
| audience | No | (federated only) Updated audience claim | |
| description | No | Updated description (max 50 chars, alphanumeric/hyphens/spaces) | |
| customClaimRules | No | (federated only) Updated custom claim rules |