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。