{"version":"0.43.0","id":"kanvas.tasklist.update","operationId":"kanvas.tasklist.update","title":"tasklist update","requiredInputs":["sessionId","taskListId"],"description":"Saves the durable list and refreshes matching unheld displays only. Held displays keep their content and revision; release hold and call tasklist.show to catch up. Identical retries never publish skipped displays. Returns durable updateId/requestId receipts; delivery waits up to the configurable 2-second default, and late acknowledgements remain recoverable through kanvas.update.status. Change a saved task list by item (add, items, check, uncheck, remove, highlight, expand, collapse, collapseAll, sort, filter, columns, showNumber, showReference). Position additions/edited items with add[].index or items[].index. subtasks:[{item,add,items,check,uncheck,remove,highlight}] addresses stable subtask ids within a parent; unnamed items stay untouched and numbers never change. expand/collapse accept item ids or numbers; collapseAll closes every item. A changed highlight opens only its new item; explicit expansion in the same update is applied afterward. Create one by publishing a task-list view. Concurrency: expectedRevision is OPTIONAL stale-write guard. Supplying a stale guard rejects the call; omitting optional guards does not waive authorization or other preconditions. After a conflict, inspect the operation-specific error and read current authorized state before retrying; current-value fields vary by operation.","guidance":"Change single items of a saved task list: add, edit fields, check, uncheck, remove, highlight, sort, filter. Never republish the list.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"taskListId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"requestId":{"description":"Stable ID deduplicates retries; omission creates a fresh ID per call.","type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"title":{"type":"string","maxLength":500},"showNumber":{"type":"boolean"},"showReference":{"type":"boolean"},"subtasks":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"item":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"integer","minimum":1,"maximum":100000}]},"add":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-zA-Z0-9_.:-]+$"},"title":{"type":"string","minLength":1,"maxLength":300},"checked":{"default":false,"type":"boolean"},"status":{"type":"string","minLength":1,"maxLength":40},"description":{"type":"string","maxLength":2000},"detail":{"type":"string","maxLength":8000}},"required":["title"],"additionalProperties":false}},"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-zA-Z0-9_.:-]+$"},"title":{"type":"string","minLength":1,"maxLength":300},"checked":{"default":false,"type":"boolean"},"status":{"type":"string","minLength":1,"maxLength":40},"description":{"type":"string","maxLength":2000},"detail":{"type":"string","maxLength":8000}},"required":["id"],"additionalProperties":false}},"check":{"maxItems":50,"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"}},"uncheck":{"maxItems":50,"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"}},"remove":{"maxItems":50,"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"}},"highlight":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"null"}]}},"required":["item"],"additionalProperties":false}},"add":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-zA-Z0-9_.:-]+$"},"title":{"type":"string","minLength":1,"maxLength":300},"reference":{"type":"string","maxLength":200},"subtasks":{"description":"Up to100 stable subtasks; the parent with all detail is bounded to64KiB, the saved list to2MiB.","maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-zA-Z0-9_.:-]+$"},"title":{"type":"string","minLength":1,"maxLength":300},"checked":{"default":false,"type":"boolean"},"status":{"type":"string","minLength":1,"maxLength":40},"description":{"type":"string","maxLength":2000},"detail":{"type":"string","maxLength":8000}},"required":["title"],"additionalProperties":false}},"summary":{"type":"string","maxLength":500},"detail":{"type":"string","maxLength":8000},"source":{"type":"string","maxLength":500},"checked":{"type":"boolean"},"status":{"type":"string","minLength":1,"maxLength":40},"tags":{"maxItems":8,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","maxLength":200}},"index":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["title"],"additionalProperties":false}},"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"item":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"integer","minimum":1,"maximum":100000}]},"title":{"type":"string","minLength":1,"maxLength":300},"reference":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"summary":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"detail":{"anyOf":[{"type":"string","maxLength":8000},{"type":"null"}]},"source":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"checked":{"type":"boolean"},"status":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}]},"tags":{"maxItems":8,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"fields":{"type":"object","propertyNames":{"type":"string","maxLength":40},"additionalProperties":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]}},"index":{"type":"integer","minimum":0,"maximum":200}},"required":["item"],"additionalProperties":false}},"check":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"integer","minimum":1,"maximum":100000}]}},"uncheck":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"integer","minimum":1,"maximum":100000}]}},"remove":{"maxItems":50,"type":"array","items":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"integer","minimum":1,"maximum":100000}]}},"expand":{"maxItems":200,"type":"array","items":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"integer","minimum":1,"maximum":100000}]}},"collapse":{"maxItems":200,"type":"array","items":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"integer","minimum":1,"maximum":100000}]}},"collapseAll":{"type":"boolean"},"highlight":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},{"type":"integer","minimum":1,"maximum":100000}]},{"type":"null"}]},"sort":{"anyOf":[{"type":"object","properties":{"by":{"type":"string","maxLength":40},"direction":{"default":"asc","type":"string","enum":["asc","desc"]}},"required":["by"],"additionalProperties":false},{"type":"null"}]},"filter":{"anyOf":[{"type":"object","properties":{"status":{"maxItems":12,"type":"array","items":{"type":"string","maxLength":40}},"tags":{"maxItems":12,"type":"array","items":{"type":"string","maxLength":30}},"fields":{"maxItems":12,"type":"array","items":{"type":"string","maxLength":40}},"done":{"type":"boolean"}},"additionalProperties":false},{"type":"null"}]},"columns":{"maxItems":6,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":40},"label":{"type":"string","minLength":1,"maxLength":60}},"required":["key","label"],"additionalProperties":false}},"doneLast":{"type":"boolean"}},"required":["sessionId","taskListId"],"additionalProperties":false,"examples":[{"sessionId":"session-id","taskListId":"task-list-id","requestId":"check-7","check":[7],"highlight":8}]},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false},"examples":[{"tool":"kanvas_call","arguments":{"operationId":"kanvas.tasklist.update","arguments":{"sessionId":"session-id","taskListId":"task-list-id","requestId":"check-7","check":[7],"highlight":8}}}],"exampleNotice":"Examples are valid syntax with illustrative IDs and source data. Substitute live authorized IDs/revisions; examples never grant consent."}