rotate_my_key
Rotate the calling key: returns a new key (shown once) with the same scopes; the old key keeps working for grace_seconds (default 3600, 0 = revoke now).
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": "rotate_my_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grace_seconds | No | Seconds the old key keeps working, 0-86400. Default 3600; 0 revokes it now. | |
| idempotency_key | No | Optional. Reuse on retries so the action happens once. |