Rotate your api_key
rotate_keyIssues a new api_key and immediately invalidates the previous key. Returns the new api_key. Requires the agent's current api_key.
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_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | The agent's api_key. Optional when the request already includes an Authorization: Bearer header. |