task_fail
Mark a task as failed with a reason when an agent cannot complete it, enabling the multi-agent team to update task status and proceed accordingly.
Instructions
Mark a task failed with reason (e.g. could not complete).
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>"
},
"name": "task_fail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| task_id | Yes |