Replace a worker secret
rotate_worker_secretReplace the worker's signing secret (which: signing_secret) or callback token (which: callback_token). The old one stops working. Returns the new one once. It acts only with the human's agreement: called without confirm it returns confirmation_required and a summary of what it would do, and called with confirm: true it acts.
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": {
"which": "<which>"
},
"name": "rotate_worker_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| which | Yes | ||
| confirm | No |