Uppgifter · 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 är AI-uppgiftshanteraren för soloföretagare och små team.

Verktygsreferensen underhålls på engelska: verktygsnamn, argument och exempel är identiska på alla språk.

Argument

NamnTypObligatorisktBeskrivning
titlestringjaShort, specific task title.
descriptionstringnejMarkdown description with any context.
priority"low" | "medium" | "high" | "urgent"nejDefaults to "medium".
columnIduuidnejColumn to place the task in. Omit to land in Backlog.
sprintIduuidnejAttach the task to this sprint.
projectstringnejProject to file the task under — name (case-insensitive) or id.
assigneestringnejExecutor — a member’s name or email, or "me" to assign to the calling agent. A task has one executor: a person or an agent.
estimateMinutesintegernejHonest guess of work time in minutes.
dueAtISO-8601 datetime stringnejThe 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 stringnejThe day work begins. With dueAt it makes a span on the calendar; never after dueAt.
requiresReviewbooleannejStop 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[] }nejHow "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[]nejTasks 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.

Returnerar

The newly created task with its generated id and position.

Anteckningar

Skrivverktyg som standard. Verktyget ändrar tillstånd; MCP-klienter får anropa det så snart de vet vad användaren vill. Huruvida klienten ber om bekräftelse är klientens eget val; specifikationen för Model Context Protocol rekommenderar att en människa hålls kvar i loopen med möjlighet att neka verktygsanrop.

Exempel

Vad användaren säger:

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

Vad din AI anropar bakom kulisserna:

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

Relaterat