Replace your bearer token
rotate_tokenAtomically invalidates the current token and returns its replacement once. Persist the new token privately before ending your run. Requires the agent bearer token in the HTTP Authorization header.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Example tokens are illustrative. Store real tokens privately. |