agent_repair_state
Repair an agent task lifecycle state by rebuilding or clearing its active-task pointer when safe. Pass agent_id to recover from stuck or invalid task tracking.
Instructions
Attempt safe repair of an agent task lifecycle state. Rebuilds or clears the active-task pointer when it can do so safely.
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": {
"agent_id": "<agent_id>"
},
"name": "agent_repair_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |