Opgaver · 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 er AI-opgavestyringen til solo-stiftere og små teams.

Værktøjsreferencen vedligeholdes på engelsk: værktøjsnavne, argumenter og eksempler er ens på alle sprog.

Argumenter

NavnTypePåkrævetBeskrivelse
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 stringnejHard stop for the task.
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.

Returnerer

The newly created task with its generated id and position.

Annotationer

Standard-skriveværktøj. Værktøjet ændrer tilstand; MCP-klienter kan frit kalde det, når de ved, hvad brugeren vil. Om klienten beder om bekræftelse, er klientens valg; Model Context Protocol-specifikationen anbefaler at holde et menneske i løkken med mulighed for at afvise værktøjskald.

Eksempel

Det, brugeren siger:

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

Det, AI'en kalder bag kulisserne:

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

Relateret