Edit Task
task_editUpdate fields on one task (task) or on several at once (tasks, max 50). Only the provided fields are changed; omitted fields are left untouched. when moves a task between views, and start_date (YYYY-MM-DD, after today) schedules it in Upcoming for that day. To remove a value, list the field in clear (e.g. clear: ["deadline"]). Notes replace the existing notes (no append). assignee assigns the task; clear it to unassign. add_labels and remove_labels change which labels are on it. Editing several tasks applies the same changes to every one of them and cannot be undone in one call, so confirm the list with the user first. For status changes use task_done, task_reopen or task_archive, and for checklist items use the available checklist tools; this tool does not change either.
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": {
"context": "<context>"
},
"name": "task_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Workspace-scoped task number, encoded as a string | |
| team | No | Team id, key, or name | |
| when | No | Move to a different GTD view. upcoming schedules tomorrow unless `start_date` names a later day | |
| clear | No | Fields to remove a value from, e.g. ["deadline"]. Use this rather than sending an empty string. | |
| notes | No | New description/notes (replaces existing) | |
| tasks | No | Several workspace-scoped task numbers (max 50), instead of `task`. Confirm the list with the user first: one call changes every task in it. | |
| title | No | New title | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| project | No | Project id, key, or name | |
| assignee | No | Assign to a member (user id, name, or email) or a task agent (id or name) | |
| deadline | No | Set due date (YYYY-MM-DD) | |
| timezone | No | IANA timezone used to resolve "today" for views and scheduling (e.g. Australia/Melbourne). Defaults to UTC, which misclassifies Today/Upcoming for users in other timezones, so always pass the user's timezone when known. | |
| workspace | No | Workspace id, slug, or name. Required when the account has more than one workspace: a call without it then fails and names the choices | |
| add_labels | No | Labels to attach (each a label id, title, or id prefix). The label has to exist already — create one with label_create | |
| start_date | No | Day the task starts, in YYYY-MM-DD format. Must be after today in `timezone`. Places the task in Upcoming until that day, then in Today. Use with `when: "upcoming"` or no `when`; any other `when` is rejected. | |
| remove_labels | No | Labels to detach (each a label id, title, or id prefix) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| count | Yes | ||
| tasks | Yes | Every task the call changed, in the order it was given | |
| action | Yes |