Update Task
update_taskUse this when the user wants to rename, re-prioritize, re-estimate, or otherwise edit an existing task. Only fields you pass are changed; omitted fields stay as-is. Idempotent. One exception to that, and it is worth reading before you send a patch that touches it: requiresReview can be turned on here but not off, and a refusal takes the whole patch with it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| dueAt | No | ||
| title | No | ||
| project | No | Project name (case-insensitive) or project ID; pass null to detach the task from its project | |
| assignee | No | ||
| priority | No | ||
| blockedBy | No | REPLACE the set of tasks blocking this one — what you pass is what holds, [] unblocks entirely. | |
| description | No | ||
| verification | No | Replace the verification plan (null removes it). Any write resets all check results to pending. | |
| requiresReview | No | Stop at the user before this is called done. Set it ONLY for the irreversible: money, publishing outward, production, anything legal. Everything else finishes without them — a queue everything enters is a queue nobody reads. Turning it ON is yours to do; turning it OFF is not. While the flag stands, only the user can take it off — by accepting the finished work in their queue, or in the Weft app themselves. Sending false against a flag that is standing is refused, and the WHOLE call is refused with it: no other field in the same patch is written either. To get flagged work moving, call complete_task — the receipt reaches them with your evidence attached, and their acceptance is what releases the card. | |
| estimateMinutes | No |