Rotate Token Secret
rotate_token_secretHot swap: a new secret for the same token (id, agent_id, grants and tree unchanged). The old secret keeps working for 15 minutes so a running session can switch without a 401. Rotate yourself ("self") or a descendant.
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_token_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | No | self |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||