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. The values an edit replaces are kept in the task's journal (get_task_history, mode 'full'), so any edit can be reverted by sending them back. Idempotent. requiresReview can be switched on here; switching it off is the user's, in the Weft app, and a patch that tries to is refused as a whole.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| dueAt | No | The day this is due, as an ISO date-time (only the date part is used, e.g. "2026-10-31T00:00:00Z"). Put a date on anything the user said has a deadline or a day to check back — dated tasks show on the user's Weft calendar and in their subscribed Google/Apple/Outlook calendar. Pass null to clear. | |
| title | No | ||
| project | No | Project name (case-insensitive) or project ID; pass null to detach the task from its project | |
| startAt | No | The day work begins, same format as dueAt. With dueAt it makes a span on the calendar ("measure 5–12 November"); never after dueAt. Pass null to clear. | |
| 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 |