update_task
Update fields of an existing task (summary, description, due, start, status, priority, percent complete, categories) and use an ETag for optimistic locking to prevent overwriting concurrent changes.
Instructions
Update an existing task. Only provided fields are changed.
For optimistic locking, pass the etag from a previous get_task or get_tasks call. If the task was modified since that read, the update will fail with a 412 Precondition Failed error. If omitted, the current etag is fetched automatically (still safe against concurrent writes during this call, but won't detect earlier external changes).
Args: list_id: Task list identifier (e.g. "tasks"). task_uid: The task's UID to update. Use get_tasks to find UIDs. summary: New task title. description: New description. Pass "" to clear. due: New due date/time in ISO 8601 format. Pass "" to clear. start: New start date/time in ISO 8601 format. Pass "" to clear. status: New status: "NEEDS-ACTION", "IN-PROCESS", "COMPLETED", or "CANCELLED". priority: New priority 0-9 (0=undefined, 1=highest, 9=lowest). percent_complete: New completion percentage 0-100. categories: New categories as comma-separated string. Pass "" to clear. etag: Optional ETag from a previous read for optimistic locking.
Returns: Confirmation message with the updated task UID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | ||
| etag | No | ||
| start | No | ||
| status | No | ||
| list_id | Yes | ||
| summary | No | ||
| priority | No | ||
| task_uid | Yes | ||
| categories | No | ||
| description | No | ||
| percent_complete | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |