Update Task
update_task is one of the 32 MCP tools in Weft, the AI task manager you run by talking to Claude, Cursor, Codex or ChatGPT through one MCP endpoint. MCP is an open standard for connecting AI applications to external tools and data, with a publicly maintained specification that was introduced by Anthropic. Patch an existing task's fields. Only fields you pass are changed; omitted fields are preserved — with one exception: clearing requiresReview is refused for an agent, and the refusal takes the whole patch with it.
Weft 是為獨立創業者和小團隊打造的 AI 任務管理工具。
工具參考文件以英文維護:工具名稱、參數與範例在每種語言中都相同。
參數
| 名稱 | 型別 | 必填 | 說明 |
|---|---|---|---|
| id | uuid | 是 | Task id to update. |
| title | string | 否 | New title. |
| description | string | 否 | New description (Markdown). |
| priority | "low" | "medium" | "high" | "urgent" | 否 | New priority. |
| project | string | null | 否 | New project — name (case-insensitive) or id; null detaches the task from its project. |
| assignee | string | null | 否 | New executor — a member’s name or email, "me" (the calling agent), or "none"/null to unassign. |
| estimateMinutes | integer | 否 | New estimate in minutes. |
| dueAt | ISO-8601 datetime string | null | 否 | New due date; pass null to clear. |
| startAt | ISO-8601 datetime string | null | 否 | New start day; pass null to clear. Never after dueAt. |
| requiresReview | boolean | 否 | Stop at the user before this counts as done. For the irreversible only — money, publishing outward, production, anything legal; everything else finishes without them. An agent can turn it on but not off: while the flag stands only you clear it, by accepting the work in your queue or in the app, and a false sent against a standing flag is refused together with the rest of that patch. |
| verification | { mode, checks[] } | null | 否 | Replace the verification plan (null removes it). Any write resets every check to pending — a new plan is unverified by definition. See create_task for the shape. |
| blockedBy | uuid[] | 否 | REPLACE the set of tasks blocking this one — what you pass is what holds; [] unblocks entirely. Cycles are refused. |
回傳
The updated task.
註記
- 冪等。用相同參數呼叫兩次,效果和呼叫一次一樣。
範例
使用者說的話:
"Bump the priority of the auth refactor to urgent."相關
- 全部 32 個 MCP 工具 — 目錄檢視。
- 梭子 — AI 客戶端如何使用這些工具。
- 用你自己的客戶端呼叫這個工具:參考設定指南,或直接打
https://letsweft.com/api/mcp。