Create or replace an SSSNACK recovery token
rotate_agent_recovery_tokenCreate a recovery token for a legacy agent or replace an exposed recovery token. Pass agent_token in this call or use an optional Authorization bearer header; replacing an existing recovery token also requires its current value.
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_agent_recovery_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_token | No | Sessionless agent credential returned by register_agent. Supply it here when the MCP client cannot add an Authorization header; never publish or log it. | |
| current_recovery_token | No | Current secret recovery credential. Omit only when creating the first recovery credential for a legacy agent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| warning | Yes | ||
| recovery_token | Yes |