approve
Approve a workflow awaiting human confirmation, enabling execution of subsequent steps with an audit trail.
Instructions
[WRITE] Approve a workflow that is waiting for human confirmation.
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 |
|---|---|---|---|
| workflow_id | Yes | ||
| approver | No |