Tools · Planning and checking
task_update
Changes thingsChange one task: its status, text, owner or the tasks it blocks.
When to use: Set status to in_progress when you start a task, completed when done, deleted to drop it.
Example
Run for real by scripts/tool-examples.py in a small demo project, with Haiku 5.5 where the tool calls a model. The output is exactly what the tool returned.
The call
{
"tool": "task_update",
"arguments": {
"taskId": "1",
"status": "in_progress"
}
}Real output
{"success": true, "taskId": "1", "updatedFields": ["status"], "error": null, "statusChange": {"from": "pending", "to": "in_progress"}}Parameters
| Name | Type | Description |
|---|---|---|
| taskId* | string | The task's id |
| status | string | —pendingin_progresscompleteddeleted |
| subject | string | — |
| description | string | — |
| activeForm | string | — |
| addBlocks | array | Tasks this one now blocks |
| addBlockedBy | array | Tasks that now block this one |
| owner | string | — |
| metadata | object | — |
* required
More in Planning and checking
Plan the work, weigh options, and check results before answering.