Công việc · MCP

Create Task

create_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. Create a new task on the user's board. Lands in Backlog if no column is set. Priority defaults to medium. Use when the user asks to add a task.

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ả
titlestringcóShort, specific task title.
descriptionstringkhôngMarkdown description with any context.
priority"low" | "medium" | "high" | "urgent"khôngDefaults to "medium".
columnIduuidkhôngColumn to place the task in. Omit to land in Backlog.
sprintIduuidkhôngAttach the task to this sprint.
projectstringkhôngProject to file the task under — name (case-insensitive) or id.
assigneestringkhôngExecutor — a member’s name or email, or "me" to assign to the calling agent. A task has one executor: a person or an agent.
estimateMinutesintegerkhôngHonest guess of work time in minutes.
dueAtISO-8601 datetime stringkhôngThe day it is due — only the date part is used. Dated tasks show on the Weft calendar and in a subscribed Google/Apple/Outlook calendar.
startAtISO-8601 datetime stringkhôngThe day work begins. With dueAt it makes a span on the calendar; 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.
verification{ mode, checks[] }khôngHow "done" will be checked — the server executes these checks on complete_task. mode "executable"/"state_delta" lets fully-passed work close itself; "checklist"/"human" always stops at you. Check kinds: http (url → expected status + optional mustContain), citation (url + quote that must appear on the page), string_check, file_hash (sha256 among the artifacts), human_checklist (items only you can judge — resolved when you accept). Statuses and results are written by the server only.
blockedByuuid[]khôngTasks that must finish first. The task derives agentState "blocked" while any is open and leaves ready-sets; it unblocks the moment the last blocker completes. Cycles are refused.

Trả về

The newly created task with its generated id and position.

Chú thích

Công cụ ghi mặc định. Công cụ thay đổi trạng thái; client MCP có thể tự gọi khi đã biết người dùng muốn gì. Việc có hỏi xác nhận hay không là lựa chọn của client; đặc tả Model Context Protocol khuyến nghị luôn có con người trong vòng lặp, với khả năng từ chối các lượt gọi công cụ.

Ví dụ

Người dùng nói:

"Add a high-priority task: fix flaky CI tests."

AI gọi gì bên dưới:

json
{
  "name": "create_task",
  "arguments": {
    "title": "Fix flaky CI tests",
    "priority": "high"
  }
}

Liên quan