Update Task
task_update · Tools · Tasks
Edit an existing task using a task_id returned by a previous task result
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
blocked_by | string[] | No | Replacement ids of tasks that must finish before this task can move. Use [] to clear; omit or use null to leave unchanged. |
content_markdown | object | No | Task body patch. Omit to leave unchanged; use {op: clear} to clear; use {op: set, value: markdown} to replace. |
deadline | object | No | Deadline patch: the fixed time the task must be complete by, taken from a stated date and never from urgency wording. RFC3339 for a specific time or YYYY-MM-DD for a whole day. Omit to leave unchanged; use {op: clear} to clear. |
importance | object | No | Importance patch. Importance is the consequence of never doing the task — money charged, a parcel returned, a person left waiting is high — and is independent of urgency. Omit to leave unchanged; use {op: clear} to clear. |
label_ids | object | No | Task label assignment patch. Full replacement semantics: omit to leave unchanged; use {op: clear} to remove all labels; use {op: set, value: [label_id]} with IDs returned by label_list/create. Do not invent IDs. |
objective_ids | string[] | No | Optional replacement linked objective ids. Omit to leave unchanged; use [] to clear. |
parent_id | object | No | Parent patch. Use {op: set, value: task_id} to move after the new parent's subtasks, or {op: clear} to make top-level. Moving keeps the task's project. Omit to leave unchanged. |
project_id | object | No | Project assignment patch. Omit to leave unchanged; use {op: clear} to clear. |
rank | object | No | Planning rank patch. Omit to leave unchanged; prefer planning move APIs unless preserving an existing rank. |
recurrence_basis | "scheduled" | "completion" | null | No | Basis used when setting recurrence. Omit to default to scheduled. |
recurrence_rule | object | No | Recurrence rule patch. Omit to leave recurrence unchanged; use {op: clear} to clear recurrence. |
recurrence_timezone | string | No | IANA timezone used when setting recurrence. Omit for the workspace's timezone. |
related | string[] | No | Replacement ids of related tasks, including links from either end. Use [] to clear; omit or use null to leave unchanged. |
resources_json | string | No | Optional replacement resources as a JSON array string. Omit to leave unchanged; use [] to clear. |
scheduled | object | No | Intended start patch: the movable day the user means to do the work, normally set comfortably before any deadline. RFC3339 for a specific time or YYYY-MM-DD for a whole day. Omit to leave unchanged; use {op: clear} to clear. |
state | "todo" | "in_progress" | "completed" | "discarded" | null | No | Optional replacement task state. Use this for all task state changes, including in_progress, completed, and discarded. Use null unless changing state. |
task_id | string | Yes | Task id returned by task_list, task_create, or another task result. Do not invent it. |
time_estimate_minutes | object | No | Estimated effort patch. Omit to leave unchanged; use {op: clear} to clear. |
title | string | No | Optional new title. Use null unless changing the title. |
urgency | object | No | Urgency patch. Urgency is how soon it must happen — today or tomorrow is high, a week or two is medium — and is independent of importance. Omit to leave unchanged; use {op: clear} to clear. |