Contents

Update Task

task_update · Tools · Tasks

Edit an existing task using a task_id returned by a previous task result

Parameters

NameTypeRequiredDescription
blocked_bystring[]NoReplacement ids of tasks that must finish before this task can move. Use [] to clear; omit or use null to leave unchanged.
content_markdownobjectNoTask body patch. Omit to leave unchanged; use {op: clear} to clear; use {op: set, value: markdown} to replace.
deadlineobjectNoDeadline 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.
importanceobjectNoImportance 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_idsobjectNoTask 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_idsstring[]NoOptional replacement linked objective ids. Omit to leave unchanged; use [] to clear.
parent_idobjectNoParent 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_idobjectNoProject assignment patch. Omit to leave unchanged; use {op: clear} to clear.
rankobjectNoPlanning rank patch. Omit to leave unchanged; prefer planning move APIs unless preserving an existing rank.
recurrence_basis"scheduled" | "completion" | nullNoBasis used when setting recurrence. Omit to default to scheduled.
recurrence_ruleobjectNoRecurrence rule patch. Omit to leave recurrence unchanged; use {op: clear} to clear recurrence.
recurrence_timezonestringNoIANA timezone used when setting recurrence. Omit for the workspace's timezone.
relatedstring[]NoReplacement ids of related tasks, including links from either end. Use [] to clear; omit or use null to leave unchanged.
resources_jsonstringNoOptional replacement resources as a JSON array string. Omit to leave unchanged; use [] to clear.
scheduledobjectNoIntended 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" | nullNoOptional replacement task state. Use this for all task state changes, including in_progress, completed, and discarded. Use null unless changing state.
task_idstringYesTask id returned by task_list, task_create, or another task result. Do not invent it.
time_estimate_minutesobjectNoEstimated effort patch. Omit to leave unchanged; use {op: clear} to clear.
titlestringNoOptional new title. Use null unless changing the title.
urgencyobjectNoUrgency 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.