resume_run
Resume a failed Metaflow run by reusing successful step results and re-executing from the point of failure.
Instructions
Resume a failed Metaflow run from the point of failure.
Starts a new run that reuses results from successful steps of the original run and re-executes from the failed step onward.
Returns once the new run ID is assigned. The resumed flow continues running as a subprocess. Use get_run to monitor progress.
Requires the flow source file on the local filesystem.
Args: flow_file: Path to the flow Python file. origin_run_id: Run ID to resume from (e.g. "1715234567890"). Use get_run or get_latest_failure to find this.
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": {
"flow_file": "<flow_file>",
"origin_run_id": "<origin_run_id>"
},
"name": "resume_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_file | Yes | ||
| origin_run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |