Change and re-run a pipeline
rerun_pipelineRun a finished pipeline run again as a new revision, with changed start inputs or checkpoint answers, or with chosen stages forced to run again. Only what the change affects runs again; the rest is reused, and approved answers are kept unless keep_answers says otherwise. Call it first without approved: it returns the plan (which stages run, which are reused, which answers are kept or asked again) and the cost. Show the person, and call again with approved: true and the same changes only after they say yes.
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": {
"pipeline_run_id": "<pipeline_run_id>"
},
"name": "rerun_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rerun | No | Stage keys to run again even if nothing they use changed. | |
| answers | No | New checkpoint answers from the person, keyed by checkpoint key, each in its answer_shape. | |
| approved | No | true only after the person has agreed to the plan and its cost. | |
| retry_from | No | Retry from here: this stage key and everything after it run again; every stage before it keeps its result, even if its workflow was edited since. | |
| keep_answers | No | Checkpoint keys whose earlier answers to keep; the others are asked again. Leave out to keep them all. | |
| start_inputs | No | Only the start inputs to change, keyed by input name. | |
| pipeline_run_id | Yes | The finished run to change. |