Run pipeline
run_pipelineStart a manual run of a connected repository's Ankra pipeline (its definition of record) at a branch, tag or commit, on the organisation's CI cluster. Give ref (refs/heads/main or main), head_sha (a full commit sha that must be the ref's tip or an ancestor of it), or both. inputs are the pipeline's on.manual.inputs. full_run runs every stage, ignoring path filters. A dispatch identical to a queued one joins it (already_queued). Follow the run with watch_pipeline_run. Address the repository with exactly one of repository_id, application_id, or owner and repo. Needs pipelines.operate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch or tag to run at, for example main or refs/tags/v1.2.0. | |
| repo | No | Repository name, with owner. | |
| owner | No | Repository owner (organisation or user), with repo, instead of repository_id. | |
| inputs | No | Dispatch inputs by name, as the pipeline's on.manual.inputs declares them; every value is a string. | |
| reason | No | A short note stored on the run. | |
| full_run | No | Run every stage, ignoring path filters (default false). | |
| head_sha | No | Full commit sha to run at. | |
| provider | No | Narrows owner and repo when the same repository is connected on two providers. | |
| 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. |