rotate_api_key
Replace an API key's secret immediately, invalidating the old secret. This irreversible action requires explicit user confirmation and the api_keys:write scope.
Instructions
Replace the key's secret (the old secret stops working immediately).
DESTRUCTIVE: this cannot be undone. Only call it when the user explicitly asked for exactly this action.
Requires scope api_keys:write.
DESTRUCTIVE: cannot be undone.
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": {
"id": "<id>"
},
"name": "rotate_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |