Decide a review
task_decideDecide a review addressed to you (task_list reviewer=me): approve, optionally with editedDraft (the text then carried out), or skip, with an optional reason. expectedRevision is the revision you read (required: PRECONDITION_REQUIRED without it); a draft replaced since refuses CONFLICT. A review addressed to anyone else, or your own proposal, refuses REVIEW_NOT_YOURS with details.reviewer; one already decided refuses TASK_NOT_IN_REVIEW. Returns the review receipt.
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. | |
| reason | No | Skip only: why not, kept as the cancel reason. | |
| decision | Yes | ||
| editedDraft | No | Approve only: the text to carry out instead of the draft. | |
| expectedRevision | No | The revision you read (required): a draft replaced since refuses CONFLICT. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes |