Update task
task_updateUpdate a task using its current revision (expectedRevision, required); assignee and reviewer take a person or agent:, and null clears them. Neither changes while the task is In review, nor on a skipped proposal still for its agent, which reopening sends back to its reviewer (TASK_IN_REVIEW). Returns a bounded receipt; task_get retrieves all details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The task, by its id. | |
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| body | No | ||
| title | No | ||
| assignee | No | Whom it is for; null clears. A person (account id, alias or @alias) or one agent as agent:<handle>, a handle from workspace_load agents; they must be able to edit tasks in the task's audience. | |
| audience | No | ||
| reviewer | No | Who decides its proposal; null clears. A person (account id, alias or @alias) or one agent as agent:<handle>, a handle from workspace_load agents; they must be able to edit tasks in the task's audience. | |
| expectedRevision | No | The task's revision as you read it (required; a stale one is CONFLICT). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes |