task_update
tools/call
Change task details, status, sprint, parent, feature and import fields in one call. Omitted fields stay. Null clears dates, points, sprint or import key; [] clears tags. A checklist becomes to-dos in the description. Send expectedVersion, the version task_get returned, so you never write over a change someone made after you read the task, such as a person's newer description: a stale call answers CONFLICT and writes nothing. Hierarchy refusals answer their code and the sentence the panel shows, such as CHILDREN_NOT_DONE or SUBTASK_PLACEMENT.
Scopes
read:projectswrite:projects
Inputs
- taskIdstringRequired
- Task ID (taskId from task_list or task_create) or task key, such as DEV-20. Keys show the project's current prefix; a key under an earlier prefix finds its task until an admin removes that prefix
- titlestring
- Task title, 1 to 180 characters
- descriptionstring
- The whole new description, which replaces the old one, in Markdown: headings, lists, to-dos (- [ ]), tables, code blocks, links and `inline code`. A single newline is a line break and a blank line starts a paragraph; HTML stays as written. task_get answers it as the same Markdown: to change it, edit what task_get gave and send the whole of it back, and its links, formatting, mentions and files are kept, a file's alt text and caption as you edit them. Markdown the editor cannot keep is refused with INVALID_INPUT, which names what to change and writes nothing: a mention or file the description does not already have, a link or formatting around `inline code`, a reference-style link or footnote, or a link that is not https, http or mailto, such as javascript:, vbscript: or data: in any letter case, after a space or written with entities or percent escapes, even in text with no other formatting. More than a description holds is refused with DOCUMENT_TOO_LARGE. Other text with no formatting is kept as plain lines.
- priority"low" | "normal" | "high" | "urgent"
- assigneestring
- Human actor ID or none; an agent actor ID adds that agent and requires a human. me selects the calling actor. On create, add the calling agent and pair its human owner unless a human is supplied; only none or explicit agentAssignees [] suppresses that default.
- agentAssigneesstring[]
- Complete assigned agent actor IDs; [] clears agents. Agents require a human assignee.
- nextActionstring
- Concrete next action; an empty string clears it
- tagsstring[]
- Up to 12 distinct tag names, each 1 to 40 characters after trimming; duplicate names collapse. [] clears them
- storyPoints1 | 2 | 3 | 5 | 8 | null
- startAtnumber | null
- Start time in Unix milliseconds on or after 2000-01-01; null clears it
- dueAtinteger | null
- Due time in Unix milliseconds on or after 2000-01-01, or null
- planningStartDatestring | null
- Start day YYYY-MM-DD on or after 2000-01-01 in the project's planning time zone; null clears it
- planningDueDatestring | null
- Due day YYYY-MM-DD on or after 2000-01-01 in the project's planning time zone; null clears it
- checklistobject[]
- Items written as to-dos under a Checklist heading at the end of the description, a done item checked; the task's checklist then reads []. When the description already has a Checklist heading, the call is refused with INVALID_INPUT and writes nothing: change the to-dos through description instead, editing the whole description task_get returns. [] adds nothing. A description past 20,000 characters with the to-dos is refused, as is item text or a description holding a NUL or an unpaired surrogate, which task_get could not read back. A task whose checklist still holds items takes the whole list there instead, keeping each item's id.
- statusstring
- Status name (Ready, In progress), kind (backlog, ready, active, waiting, review, done) or ID
- sprintstring | null
- Sprint name, ID, current, or null for no sprint
- parentstring | null
- Task ID or key of a top-level task in the same project, sprint and feature to make this a sub-task of; none or null makes it top-level, keeping its fields and key
- featurestring | null
- featureId from feature_list, or none or null for No feature. A top-level task's sub-tasks follow it; a sub-task's feature is its parent's
- completedAtinteger
- Past completion time for an imported task in a done status
- externalKeystring | null
- Unique import key for this project; null removes it
- expectedVersioninteger
- The version task_get returned. The call answers CONFLICT and writes nothing, whatever it changes, if the task changed since, or while a person's save to its description is not yet counted in its version (about 10 seconds after they type): read the task again with task_get, make your change to what it returns and send its new version. Use the version a task_update answer gives only when that call sent expectedVersion; otherwise read the task again with task_get. Left out, the call writes over the task as it is now
- idempotencyKeystringRequired
- Retry key you choose. The same call sent again with the same key within 24 hours writes nothing twice: if an answer is lost or unclear, send the same call with the same key. Use a new key for a new change
- sessionIdstring
- Your session from session_create. Its model and client are recorded on this change
- modelstring
- The model making this change, such as claude-opus-5-5, when you name no session or have switched model. Recorded as you report it
Returns
The updated task. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The connection has read:projects; the tools that write need write:projects too, and the Feature writes manage:projects.