fail_task
Marks an in-progress task as failed and records the error reason or traceback so coordinating agents can update task state.
Instructions
Mark an in_progress task as failed with an error description.
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": {
"task_id": "<task_id>",
"agent_id": "<agent_id>"
},
"name": "fail_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Failure reason or error traceback. | |
| task_id | Yes | ID of the task. | |
| agent_id | Yes | Agent ID that held the claim. |