task_fail
Mark a claimed task as failed to notify other agents when you cannot complete it, unblocking the workflow.
Instructions
Mark your claimed task as failed. Use when you cannot complete it.
Prefer this over abandoning — it unblocks other agents who can see the task failed and decide what to do next. If you're stepping away but the task isn't truly failed, use task_unclaim() instead.
Args: task_id: ID of a task you have claimed. body: Optional reason recorded on the task's comment log. Strongly recommended.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| body | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |