Công việc · MCP

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 là trình quản lý công việc bằng AI cho nhà sáng lập độc lập và nhóm nhỏ.

Tài liệu tham khảo công cụ được duy trì bằng tiếng Anh: tên công cụ, tham số và ví dụ là như nhau trong mọi ngôn ngữ.

Tham số

TênKiểuBắt buộcMô tả
iduuidcóTask id to update.
titlestringkhôngNew title.
descriptionstringkhôngNew description (Markdown).
priority"low" | "medium" | "high" | "urgent"khôngNew priority.
projectstring | nullkhôngNew project — name (case-insensitive) or id; null detaches the task from its project.
assigneestring | nullkhôngNew executor — a member’s name or email, "me" (the calling agent), or "none"/null to unassign.
estimateMinutesintegerkhôngNew estimate in minutes.
dueAtISO-8601 datetime string | nullkhôngNew due date; pass null to clear.
startAtISO-8601 datetime string | nullkhôngNew start day; pass null to clear. Never after dueAt.
requiresReviewbooleankhôngStop 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[] } | nullkhôngReplace 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.
blockedByuuid[]khôngREPLACE the set of tasks blocking this one — what you pass is what holds; [] unblocks entirely. Cycles are refused.

Trả về

The updated task.

Chú thích

  • idempotent. Gọi công cụ hai lần với cùng tham số cho kết quả giống như gọi một lần.

Ví dụ

Người dùng nói:

"Bump the priority of the auth refactor to urgent."

Liên quan