cancel_pipeline
Stop a running CI/CD pipeline when a build must be halted; preview with dry_run first because cancellation is irreversible and the prior status is recorded.
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 |