update_task_status
Updates a task's status to todo, in_progress, blocked, or done and sends real-time notifications to project viewers; done requires all subtasks complete.
Instructions
Change the status of a task (todo, in_progress, blocked, done). This triggers a real-time notification to users viewing the project. Note that a task with subtasks or dependencies also has a DERIVED status which can differ from the one set here — see effective_status / status_reason on get_task.
SETTING "done" IS GATED (GH #387). A task holding any subtask that is not done is REFUSED with 403 OPEN_SUBTASKS, naming the blocking children. The bar is "done": a subtask that is todo, in progress or blocked all refuse it for the same reason. This is not advisory and there is no automated way around it — the override is reserved for a human account owner or admin, and an automated identity is refused it explicitly (403 FORCE_NOT_PERMITTED, reason actor_is_agent). So finish the subtasks; do not attempt to force the parent.
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>",
"status": "<status>"
},
"name": "update_task_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | New status for the task. "ready_to_complete" is NOT settable — it is derived when every subtask is done. | |
| task_id | Yes | The ID of the task to update | |
| blocked_reason | No | Why the task is blocked. Only meaningful with status "blocked"; cleared automatically on any other status. |