Approve a request
approve_requestRecord this user's approval on a request that is waiting on their decision. This is a decision of record with real financial and operational consequences: always show the user what they are approving and get explicit confirmation in the same turn before calling. Fails if the user is not the current approver. Two-step: call with confirmed=false (the default) first for a preview with NOTHING recorded yet; call again with confirmed=true to record it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional note recorded alongside the approval. | |
| confirmed | No | false (default) returns a preview of what would be approved and does NOTHING. true approves it. Preview, show the user, wait for their yes, then call again with true. | |
| ar_identifier | Yes | The approval request to approve — friendly number like 'AR-15' / '15' or the internal integer id. |