update_todo
Update an existing to-do with partial changes to status, scheduling, tags, notes, deadline, project/area moves, or heading placement.
Instructions
Update an existing todo. Supports partial updates to any field including status, scheduling, tags, and content.
A successful response includes todo_id and a post-write
readback. readback_succeeded reports only whether that read
succeeded; it does not claim the requested fields were applied.
When true, item is what the database showed immediately after the write; for
URL-scheme-routed fields (heading moves, when='evening'/'tonight',
when='YYYY-MM-DD@HH:MM') Things applies the write asynchronously, so it
may still reflect pre-write state. A mismatch is not evidence the write
failed: do not retry the write, poll get_todo_by_id with a short backoff. If the
read fails after the write reports success, success remains
true and readback_error plus a warning explain that callers
must not retry the write automatically.
Status semantics for completed/canceled (identical across update_todo, bulk_update_todos, and update_project - see CLAUDE.md for the full 3x3 table): canceled='true' always wins regardless of completed (e.g. completed='false', canceled='true' results in canceled). Whenever canceled is not 'true', completed (if given) decides the result: 'true' -> completed, 'false' -> open. canceled='false' alone (with completed omitted) also reopens the todo - this is NOT a no-op. Omitting both leaves status unchanged. completed/canceled only accept the strings 'true'/'false' (case-insensitive) - any other value (e.g. 'yes', '1') is rejected with a structured VALIDATION_ERROR rather than being silently coerced to False.
Clear-field semantics for partial updates: a field left at its default (None/omitted) leaves the existing value unchanged. Passing notes='' or deadline='' clears that field. Passing tags='' clears all tags. title='' is rejected with a validation error (titles cannot be cleared). when='' is also rejected - use when='anytime' or when='someday' to unschedule instead.
list_id/list_title move the to-do into a project or area. Without heading, this happens via AppleScript in the same write as the other AppleScript-only fields (title/notes/tags/etc.) - it can move a to-do INTO a project or area but CANNOT place it in the inbox/today/anytime/someday lists; use move_record() for those destinations. With heading also given, the move instead happens via the Things URL scheme together with the heading placement (see below). list_id takes precedence over list_title if both are given; an unresolvable list_id/list_title (unknown id, or a title matching zero or more than one project/area) is a structured error and no field in the same call is applied.
heading moves the to-do under that heading via the Things URL scheme (things:///update) - AppleScript cannot do this. It requires the Things auth token to be configured; without one this returns {"success": False, "error": "...", "hint": "..."} and no field (including title/notes/tags/etc. in the same call) is applied. heading='' is rejected (no way to clear a heading via update). The heading must already exist in the target project or Things silently ignores it (ends up in the project, not under the heading) - a warning is returned when the heading could not be confirmed to exist. If the to-do has no project and neither list_id nor list_title is also given, a warning is returned (URL-scheme 'heading' has no effect without a project).
when='evening' (alias 'tonight') schedules the to-do for This Evening. Like heading, this is only possible via the Things URL scheme (things:///update) and requires the Things auth token to be configured; without one this returns {"success": False, "error": "...", "hint": "..."} and no field in the same call is applied. If the token IS configured and when='evening' is combined with other fields (title/notes/tags/deadline/etc.) in the same call, those AppleScript-only fields are applied FIRST, then the URL-scheme evening schedule is applied second - if that second URL-scheme call itself fails, the already-applied fields are NOT rolled back (same ordering/caveat as heading). when='evening' combined with list_id/list_title but NO heading moves the to-do via the AppleScript write only (first field group above) - list_id/list_title is not also sent on the evening URL-scheme call, since that would re-apply the same move a second time.
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": {
"id": "<id>"
},
"name": "update_todo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the todo to update | |
| tags | No | Comma-separated new tags (replaces existing tags). Omit to leave unchanged; pass '' to clear all tags | |
| when | No | Schedule date/time: 'today', 'tomorrow', 'evening' (alias 'tonight', schedules for This Evening; requires the Things URL-scheme auth token, see hint below), 'someday', 'anytime', or a date (e.g., '2024-12-25@14:30'). Omit to leave unchanged; '' is rejected - use 'anytime' or 'someday' to unschedule | |
| notes | No | New notes. Omit to leave unchanged; pass '' to clear existing notes | |
| title | No | New title. Omit to leave unchanged; '' is rejected (titles cannot be cleared) | |
| heading | No | Move the to-do under this heading (within its current project, or list_id's/list_title's project if also given). Requires the Things URL-scheme auth token (see README/CLAUDE.md 'Things URL-scheme auth token') - fails fast with a structured error and hint if not configured. Cannot be cleared with ''; '' is rejected | |
| list_id | No | Project or area ID to move the to-do into. Combined with heading, moves + places under that heading in one call via the Things URL scheme. Without heading, moves the to-do directly into that project/area via AppleScript ('project id'/'area id') - cannot target inbox/today/anytime/someday (use move_record for those). Takes precedence over list_title if both are given | |
| canceled | No | Mark as canceled (true/false) | |
| deadline | No | New deadline. Must be YYYY-MM-DD - relative keywords like 'today' are rejected. Omit to leave unchanged; pass '' to clear the existing deadline | |
| completed | No | Mark as completed (true/false) | |
| list_title | No | Project or area title to move the to-do into (resolved to an id the same way as add_todo's list_title). Only consulted when list_id is not given. Works the same whether or not heading is also given - resolved and used as the move target either way. Errors if the title matches zero or more than one project/area |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||