cancel_pipeline
Cancel a running pipeline to halt an active build. Use dry_run to preview the cancellation before applying it irreversibly.
Instructions
[WRITE][risk=medium] Cancel a running pipeline.
Reads the pipeline first so priorState records the status it had before the cancel. Irreversible (the stopped run cannot be resumed) — no undo. Pass dry_run=True to preview.
Args: project: Project id or full path. pipeline: Pipeline id (from list_pipelines). dry_run: If True, preview without canceling. target: Server target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| project | Yes | ||
| pipeline | Yes |