Rerun pipeline run
rerun_pipeline_runRe-run an Ankra Pipelines run of a connected repository at the same commit. failed_only re-runs only the stages that failed (refused when nothing failed); full_run runs every stage, ignoring path filters. Address the repository with exactly one of repository_id, application_id, or owner and repo. Needs pipelines.operate, and pipelines.manage when the original run carried a spec supplied at dispatch.
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_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name, with owner. | |
| owner | No | Repository owner (organisation or user), with repo, instead of repository_id. | |
| full_run | No | Run every stage, ignoring path filters (default false). | |
| provider | No | Narrows owner and repo when the same repository is connected on two providers. | |
| failed_only | No | Re-run only the failed stages (default false). | |
| repository_id | No | The connected repository's id, from list_pipeline_repositories. | |
| application_id | No | An application whose linked repository to address, instead of repository_id. | |
| pipeline_run_id | Yes | The run to re-run (its UUID, as get_pipeline_step_logs or watch_pipeline_run report it). |