Update Task
update_taskChanges one task: its status (e.g. completed, in_progress, blocked, or a custom status of the workspace), due date, priority, title or assignee. Only the fields given change, under the same rules as the task board: the workspace floors for reassigning and reprioritizing, and the contract lock on a locked line. A task the person cannot see reads as not found. The result carries the prior values as the call that undoes it. Handles "mark the drainage memo done" or "push the survey task to Friday".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title. | |
| status | No | New status: pending, in_progress, review, on_hold, blocked, completed, or a custom status key of the workspace. | |
| taskId | Yes | The task id, as a task list or an earlier result gave it. | |
| userId | No | Not needed when signed in: these tools act for the signed-in person, and any other ID is refused. Applies only to a workspace connection with no signed-in user. | |
| dueDate | No | Due date as YYYY-MM-DD, or null to clear it. | |
| assignee | No | Who it is for: "me", or a teammate's name as the roster has it. null leaves it unassigned. Reassigning someone else's task follows the workspace's reassignment rule. | |
| priority | No | Priority. | |
| assigneeRef | No | Exact assignee as "user:<id>" or "staff:<id>" (the form an undo carries). Give assignee or assigneeRef, not both. | |
| assigneeRefs | No | The whole assignee set as "user:<id>" or "staff:<id>" refs, primary first (the form an undo carries). An empty list unassigns everyone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| undo | No | The call that reverses this one, with its arguments. | |
| changed | No |