approve
Confirm a pending workflow awaiting human confirmation to resume execution and continue to subsequent steps.
Instructions
[WRITE] Approve a workflow that is waiting for human confirmation.
Use this only after showing the user the pending step and getting explicit human consent; use cancel_workflow instead when the approval is rejected. Only works when workflow state is 'awaiting_approval'. After approval, execution continues to the next steps.
Note: this server has no dispatcher — after approval, remaining steps are recorded as 'not_executed' and the result carries outcome='dispatch_required' with a 'pending_dispatch' list for the calling agent to perform (see run_workflow).
Returns: Updated workflow state after resuming.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approver | No | Name of the person approving (for audit trail). | |
| workflow_id | Yes | The workflow ID to approve. |