update_task
Record task progress with structured state patches, human-readable results, and notes so intermediate work survives session ends or failed approaches. Requires an explicit task_id.
Instructions
Record progress on a task. Provide task_id explicitly. Call this after completing meaningful work, not just at the end — intermediate results are valuable if the session ends or an approach fails. Use result for a human-readable summary of what happened. Use state_patch for structured data (file paths, counts, flags, API responses) that this task or downstream sibling tasks will need programmatically. Use notes for freeform observations, corrections, or context — unlike result, notes can be updated at any point and cleared by passing null. Use goal to rename the task (pending tasks only).
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": "update_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Rename the task goal. Only allowed while the task is still pending — throws if the task is active, completed, or abandoned. | |
| notes | No | Freeform text scratchpad — use for mid-task observations, corrections, or context for downstream tasks. Unlike result, notes can be set and updated at any point. Pass null to clear. | |
| result | No | Human-readable summary of progress or outcome | |
| task_id | Yes | ID of the task to update | |
| run_scope | No | A goal run passes its run id here; anyone else leaves it out. | |
| state_patch | No | Shallow-merge patch applied to state | |
| verify_command | No | Shell command Quarterdeck runs in the plan's working_dir when you complete the task, e.g. "npm test -- auth". It must exit 0 or completion is refused. Pass null to remove (pending tasks only). | |
| verify_timeout_s | No | Timeout for verify_command in seconds (default 300) | |
| requires_approval | No | If true, a human must approve the task in the web UI before it is completed. | |
| acceptance_criteria | No | Checkable statements that must be true when the task is done, e.g. "GET /users returns 401 without a token". When completing, you must give evidence for each one. |