Rotate the management token
rotate_tokenNew management_token (SHOWN ONCE, store it now). The old one stops working after grace_sec (default 0 = immediately). (REST: POST /v1/jobs/{id}/rotate-token)
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": {
"job_id": "<job_id>"
},
"name": "rotate_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | job_<ULID> returned by create_job | |
| grace_sec | No | ||
| management_token | No | act_mt_… management token. Optional if the MCP HTTP request carries Authorization: Bearer <management_token>. |