Decide Approval
decide_approvalAnswer a waiting checkpoint by request id: approve, reject, or amend. 'amend' means send the step back to be redone with the change described in notes, so notes are required for it. Spends money: approve continues the run and amend re-runs the step, both billed. Fails with a clear error, rather than silently doing nothing, if the run is no longer waiting. Requires authentication and the workflows:approve scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | What you want changed or why. Required when decision is amend; optional otherwise. | |
| decision | Yes | approve continues the run; reject sends the step back to be redone; amend does the same but requires notes saying what to change. | |
| approval_id | Yes | The request's id, from list_approvals. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |