update_task
Modifies an existing task (title, status, priority, complexity, labels, due date, its block, ASSIGNEES). The database sets the completion date: status done is enough, nothing to write. The response returns url, the DIRECT LINK to the task (the one the human follows). A new title holds 120 characters at most (a longer one is REFUSED; appendBody adds the detail to the note, body replaces it) and a reworded or new arbitrage question 200; a task whose existing title is longer stays modifiable while title is not sent — it is never rewritten for you. It is also the ONLY way to (un)assign a task: assignees REPLACES the whole list, assignees: [] empties it. ⚠️ body and labels ALSO REPLACE what exists: a partial send overwrites the rest, with no signal and no way to recover it. appendBody APPENDS to a note: it ADDS the text at its end (after a blank line) without ever overwriting it, atomically server-side — incompatible with body in the same call; the resulting note stays capped like body (named refusal otherwise). addLabels / removeLabels ADD or REMOVE some labels, keeping all the others (idempotent; each task of a batch is computed against ITS OWN current labels): a safe bulk tag (e.g. a plan: label on a hundred tasks); INCOMPATIBLE with labels, the same label in both lists is refused. moveBefore / moveAfter (the id of a SIBLING task — same parentTaskId) place this task right before / after it in the backlog order, parent unchanged; mutually exclusive, refused in batch form, named refusals (target not found, the task itself, another level, no free slot). The response then carries moved (and unchanged: true if nothing needed to move). As with create_tasks, an assignment that will reach nobody can be DECLARED in unreachableAssignees + note (same two cases, same conditions) without ever being refused — assigning an external contact without an account remains normal. dependsOn ALSO REPLACES the whole list (same semantics as assignees/labels) — a dependency discovered afterwards is added here, create_tasks.dependsOn applying only at creation. Linking parentTaskId to an ARCHIVED user story (US) is never refused — the response SAYS so via archivedParents + archivedParentsNote (create_tasks pattern). taskId ALSO accepts an ARRAY (up to 100): the SAME patch applies to each task INDEPENDENTLY — an id not found never prevents the others from succeeding; the response carries succeeded/failed (the findings above go PER task into succeeded) instead of the flat fields of the single action, plus batchUrl: ONE link to the succeeded tasks (batchTitle = the banner sentence). ⚠️ arbitrage and arbitrageAction are REFUSED in batch form — state transitions PER task, ONE taskId only; same for moveBefore/moveAfter (one target, one place). appendBody, addLabels and removeLabels do apply to EACH task of the batch. DELIVERABLES: addLinks ADDS (without replacing — other agents' deliverables stay) and removeLinks REMOVES, one by one, by id or key; 20 at most per task. The key is STABLE and state carries the TRUE state: replaying the same addition updates the entry, no duplicate (a PR open becomes merged). The state is the one YOU declare — OrgGen never queries it, the human reads "declared by the agent"; "verified" is a human action. The response carries links (added, updated, removed, total). In batch form, applied to EACH task, independently. WORKING MODE (get_config, key task.workflow): in validation mode, an agent's status: "done" is CONVERTED — the task stays "in progress" with the state "to validate", the response carries heldForValidation and your claim is released (you DELIVERED, a human validates). A task "to approve" does not finish. Detours are REFUSED (named refusal, nothing written): archiving a waiting task, removing a dependency on it, removing the a-valider / a-approuver / geste-humain labels, raising an arbitration on a task already "in progress", moving a geste-humain task to "in progress" or "done". Outside this mode, none of this applies. CLOSING LOCK: finishing a task (status: "done") or closing or setting aside its arbitration is refused (UNACKNOWLEDGED_COMMENTS, nothing written) while a comment addressed to the agent on it, delivered to the calling key (or to the chat), is unacknowledged; acknowledgeComments acknowledges it in the same call, here and on reply_comment. A comment delivered to a different key does not block and is reported in commentsHeldByOthers. There is no agent-side override: only a human can still close it from the site. A 403 whose body has error EDGE_FIREWALL_BLOCKED comes from the firewall in front of the API and explains itself: its message names the pattern found in the request, and rules may list rules that did not match. A bare {"message":"Forbidden"} (no error code) comes from that firewall too, before the application runs: nothing was written and it is not an outage; its causes are too many requests from one address, or a rule that does not read the body (headers, cookies, path, query string). A task, an arbitration or a document of THIS project cited inside a text is written as a Markdown link [human title](url exactly as returned), with the url the tools return; the product shows such a link as a chip or a card, which a bare identifier or a hand-composed address does not get.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"taskId": "<taskId>"
},
"name": "update_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | REPLACES the WHOLE note — it is NOT an addition to the existing text. `appendBody` APPENDS to a note (atomic append, without overwriting). `null` clears the note; the OMITTED field touches nothing. Incompatible with `appendBody`. | |
| dueOn | No | ||
| title | No | The new label (up to 120 characters; the detail is added to the note with `appendBody`). When it is absent, the current title is kept, whatever its length. | |
| cellId | No | ||
| labels | No | REPLACES the whole list of labels — same semantics as `assignees`, NOT an addition. `[]` removes them all; the OMITTED field touches nothing. To add or remove SOME labels without touching the others (`a-valider`, `a-approuver`, `etat-tri:*`…), `addLabels` / `removeLabels` exist — incompatible with `labels` in the same call. | |
| status | No | ||
| taskId | Yes | ONE identifier, or UP TO 100 (array); the batch contract is in the tool description. | |
| dueText | No | ||
| addLinks | No | ADDS deliverables, at most 20 per call; it never REPLACES the list (rules in the tool description). An existing entry is designated by the same `key`, else the same URL, else the same `(type, ref)`, and is updated, no duplicate. | |
| executor | No | WHO is expected to DO the task: `agent` (an AI agent may take it) or `human` (a person must do it — an agent does not claim it, `list_tasks({executable:true})` leaves it out). An instruction, not an identity: not who is ASSIGNED. `null` clears it back to unspecified; omitted = unchanged. | |
| priority | No | ||
| addLabels | No | ADDS these labels, keeping the others (unlike `labels`, which REPLACES the whole list; idempotence, batch form, exclusions: tool description). A label already there is matched with the folding of the `list_tasks` label filters (case, accents and spaces around ":" ignored). The final list is capped at 20 labels (named refusal otherwise, nothing written). The response carries the final `labels`, `labelsAdded` and `labelsRemoved`. | |
| arbitrage | No | Turns an ORDINARY task into an ARBITRATION — REFUSED if it already carries one (it then evolves via `arbitrageAction`, not by rewriting this field). A task with a `cellId` keeps it; without a block it TAKES its parent task's (`inheritedCellId` in the response), else it becomes an arbitration WITHOUT A SUBJECT — Arbitrations tab, no canvas card — and the response says so (`arbitrageWithoutBlock`). Incompatible with any other field of this call, `arbitrageAction` included. | |
| assignees | No | REPLACES the WHOLE list of assignees — same semantics as `labels`, NOT an addition. `[]` UNASSIGNS everyone; the OMITTED field touches nothing (current assignees stay). An identifier or name of a person of the project is RESOLVED; any other string is kept as an unresolved designation, not discarded. | |
| dependsOn | No | REPLACES the WHOLE list of dependencies — same semantics as `labels`, NOT an addition. `[]` removes them all; the OMITTED field touches nothing. Each id must exist in this project. REMOVING an id whose task is ARCHIVED without being done (and not lifted) is REFUSED (`ARCHIVED_DEPENDENCY_REMOVAL_REFUSED`, with `refusedRemovals` and `suggestedDependsOn`, the list to resend as is): a lift is a human decision, or archive/finish this task, or un-archive the target. Each task of a batch is judged alone. | |
| moveAfter | No | Places this task RIGHT AFTER the named task in the backlog order — same rules as `moveBefore` (exclusive of it, same parent, refused in batch form). | |
| appendBody | No | ADDS this text at the end of the existing note (blank-line separator, atomicity, batch form: tool description). No or empty note: the text becomes the note. The RESULTING note is capped at 20000 characters (named refusal otherwise, note unchanged). LEADING and trailing spaces are removed (a leading indentation does not survive: a note that depends on one is written with `body`). INCOMPATIBLE with `body` in the same call. | |
| batchTitle | No | BATCH form (`taskId` array, at least two tasks updated): the view banner sentence when the human opens `batchUrl`. Changes nothing about the update. Maximum 120 characters. | |
| claimToken | No | YOUR claim's token (from `claim_task`) — REQUIRED to write to a task a lease holds: without it `CLAIM_HELD`, a stale one `CLAIM_LOST`. A SECRET kept out of every written text. A write carrying it extends the lease without touching the declared progress; ending the task (`done`, archiving, back to `todo`) releases the claim. On a task nobody holds, the field stays empty. | |
| complexity | No | RELATIVE order of magnitude in HUMAN TIME: xs = under an hour · s = a few hours · m = half a day to a day · l = a few days · xl = to SPLIT. It is estimated ahead of the pick-up of the work; it is an estimate, not a promise. No value = not estimated. `null` clears the estimate; the OMITTED field touches nothing. | |
| moveBefore | No | Places this task right before the named SIBLING task (US among USs, subtask among its parent's subtasks); rules and named refusals in the tool description. | |
| removeLinks | No | REMOVES deliverables, each designated by its `id` OR its `key`. Idempotent: a deliverable already removed or never added is not an error (the response lists it in `notFound`). Removals run ahead of the additions of the same call. | |
| parentTaskId | No | Links this task to its parent grouping ("Part of": a user story (US), another task WITHOUT `parentTaskId`), or DETACHES it. The epic is the BLOCK (`cellId`), not the parent task. `null` = becomes a US again (distinct from the OMITTED field, which touches nothing — unlike `assignees`, an array where `[]` plays that role). Same depth rule as at creation: refused if the target is already a subtask, or if this task already has subtasks (three levels). | |
| removeLabels | No | REMOVES these labels, keeping the others. A label the task does not carry is ignored without error (same folding as `addLabels`). Works in batch form. INCOMPATIBLE with `labels`; the same label in `addLabels` is refused. Removing a human-wait label (`a-valider` / `a-approuver`) follows the same rules as `labels`. | |
| arbitrageAction | No | Advances an ARBITRATION task. `start`/`close`/`repropose`/`moot`/`clarify`/`record_external_decision`/`answer` — not `validate`/`choose`/`contest`, reserved to the human through the interface. `clarify` answers "I need more explanation" (polled by `list_tasks({ awaitingClarification: true })`). Incompatible with any other field of this call. | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). | |
| acknowledgeComments | No | ACKNOWLEDGES the messages a human or an agent ADDRESSED to you on the task (those `unreadForYou` flags). `"all"`: every message read IN FULL; or a list of message ids (20 at most). Accepted ONLY AFTER the full body was read (`list_comments` with `includeMessages: true`) — acknowledging an excerpt is refused, and named. The closing lock lifts when nothing awaits your acknowledgement; replying in the thread also acknowledges the messages you read. Applied first, so one call can acknowledge and close. |