Resume a Wiro workflow run
resume_workflow_runResume a failed or stopped workflow run on its original run token, keeping completed steps and rerunning only failed, skipped, or unexecuted steps.
Instructions
Continue a workflow run that failed or stopped at a breakpoint, on the same run token. Steps run as the run started them, with the same inputs and settings: changes saved to the workflow since then apply to new runs only. Completed steps are kept and not charged again; failed, skipped and not-yet-run steps run again as new model runs and are charged to the wallet that paid for the original run. Ask the user before resuming, unless they asked you to continue this run: then give the expected cost in one line and resume. Use it only when wait_for_workflow_run reports canResume: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_seconds | No | How long to wait for the result (0-600 seconds, default 45). | |
| workflowtoken | Yes | The run token of a failed or stopped run. | |
| breakpoint_node_id | No | Optional step id to stop after this time. Leave it out and a failed run keeps the breakpoint it started with, while a stopped run runs to the end. Pass null to run to the end. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| debug | No | ||
| nextAction | No |