approve
Approve a human-confirmation step to resume a paused workflow after explicit consent, continuing execution to the next 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.
Args: workflow_id: The workflow ID to approve. approver: Name of the person approving (for audit trail).
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 | ||
| workflow_id | Yes |