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 คือเครื่องมือจัดการงานด้วย AI สำหรับผู้ก่อตั้งเดี่ยวและทีมเล็ก
เอกสารอ้างอิงเครื่องมือดูแลเป็นภาษาอังกฤษ: ชื่อเครื่องมือ อาร์กิวเมนต์ และตัวอย่างเหมือนกันในทุกภาษา
อาร์กิวเมนต์
| ชื่อ | ชนิด | จำเป็น | คำอธิบาย |
|---|---|---|---|
| title | string | ใช่ | Short, specific task title. |
| description | string | ไม่ | Markdown description with any context. |
| priority | "low" | "medium" | "high" | "urgent" | ไม่ | Defaults to "medium". |
| columnId | uuid | ไม่ | Column to place the task in. Omit to land in Backlog. |
| sprintId | uuid | ไม่ | Attach the task to this sprint. |
| project | string | ไม่ | Project to file the task under — name (case-insensitive) or id. |
| assignee | string | ไม่ | Executor — a member’s name or email, or "me" to assign to the calling agent. A task has one executor: a person or an agent. |
| estimateMinutes | integer | ไม่ | Honest guess of work time in minutes. |
| dueAt | ISO-8601 datetime string | ไม่ | The 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. |
| startAt | ISO-8601 datetime string | ไม่ | The day work begins. With dueAt it makes a span on the calendar; 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. |
| verification | { mode, checks[] } | ไม่ | How "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. |
| blockedBy | uuid[] | ไม่ | Tasks 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. |
ค่าที่ส่งกลับ
The newly created task with its generated id and position.
Annotation
เครื่องมือแบบเขียนตามค่าเริ่มต้น เครื่องมือนี้เปลี่ยนแปลงสถานะ ไคลเอนต์ MCP เรียกใช้ได้เลยเมื่อรู้ว่าผู้ใช้ต้องการอะไร ส่วนจะขอการยืนยันหรือไม่นั้นขึ้นอยู่กับไคลเอนต์ ทั้งนี้ ข้อกำหนดของ Model Context Protocol แนะนำให้มีมนุษย์อยู่ในวงจรเสมอ โดยสามารถปฏิเสธการเรียกใช้เครื่องมือได้
ตัวอย่าง
สิ่งที่ผู้ใช้พูด:
"Add a high-priority task: fix flaky CI tests."สิ่งที่ AI เรียกใช้เบื้องหลัง:
{
"name": "create_task",
"arguments": {
"title": "Fix flaky CI tests",
"priority": "high"
}
}ที่เกี่ยวข้อง
- เครื่องมือ MCP ทั้ง 32 รายการ — มุมมองแบบแคตตาล็อก
- กระสวย — วิธีที่ไคลเอนต์ AI ใช้เครื่องมือเหล่านี้
- เรียกใช้เครื่องมือนี้ผ่านไคลเอนต์ของคุณเอง: ดูคู่มือการตั้งค่า หรือเรียก
https://letsweft.com/api/mcpโดยตรง