Tugasan · 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 ialah pengurus tugas AI untuk pengasas solo dan pasukan kecil.

Rujukan alat diselenggara dalam bahasa Inggeris: nama alat, argumen dan contoh adalah sama dalam setiap bahasa.

Argumen

NamaJenisWajibPenerangan
titlestringyaShort, specific task title.
descriptionstringtidakMarkdown description with any context.
priority"low" | "medium" | "high" | "urgent"tidakDefaults to "medium".
columnIduuidtidakColumn to place the task in. Omit to land in Backlog.
sprintIduuidtidakAttach the task to this sprint.
projectstringtidakProject to file the task under — name (case-insensitive) or id.
assigneestringtidakExecutor — a member’s name or email, or "me" to assign to the calling agent. A task has one executor: a person or an agent.
estimateMinutesintegertidakHonest guess of work time in minutes.
dueAtISO-8601 datetime stringtidakThe 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 stringtidakThe day work begins. With dueAt it makes a span on the calendar; never after dueAt.
requiresReviewbooleantidakStop 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[] }tidakHow "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[]tidakTasks 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.

Nilai pulangan

The newly created task with its generated id and position.

Anotasi

Alat tulis lalai. Alat ini mengubah keadaan; klien MCP bebas memanggilnya sebaik sahaja mereka tahu apa yang dikehendaki pengguna. Sama ada klien meminta pengesahan atau tidak adalah pilihan klien itu sendiri; spesifikasi Model Context Protocol mengesyorkan agar sentiasa ada manusia yang terlibat dan berupaya menolak panggilan alat.

Contoh

Apa yang pengguna katakan:

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

Apa yang dipanggil oleh AI di sebalik tabir:

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

Berkaitan