Update a task
tasks_updateUpdate an existing task's status, progress, message, result, or error while a worker is running. Missing task IDs return task_not_found.
Instructions
Patch status, progress, message, result, or error on an existing task. Use while a worker is running. Do not use to cancel — that is tasks_cancel — or to create a new handle (tasks_create). Mutating; last write wins. Missing ids return task_not_found. Auth: tool policy gate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error string when failing. | |
| result | No | Structured result payload when completing. | |
| status | No | New status if changing: pending, running, input_required, completed, failed, cancelled. | |
| message | No | Human-readable status message. | |
| task_id | Yes | Task id to patch. | |
| progress | No | Progress 0–1 if reporting advancement. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||