Resume a Wiro workflow run
resume_workflow_runResume a failed or stopped workflow run from its breakpoint on the same run token; completed steps are kept and unfinished steps rerun. Confirm the estimated cost with the user before continuing.
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. Before resuming, give the user the expected cost in one line and wait for their yes, even when they asked you to continue this run. Use it only when wait_for_workflow_run reports canResume: true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflowtoken": "<workflowtoken>"
},
"name": "resume_workflow_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_seconds | No | How long to wait for the result (0-3600 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 |