Cancel a running pipeline
cancel_pipelineStops a pending or running pipeline, terminating steps in place. The pipeline can be restarted later.
Instructions
Stops a pipeline that is pending or running. Its steps are killed where they are, so anything half-written stays half-written. The pipeline can be restarted afterwards.
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": {
"repo_id": "<repo_id>",
"number": "<number>"
},
"name": "cancel_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Pipeline number — the per-repository counter shown in the UI, not the global pipeline id. | |
| repo_id | Yes | Numeric repository id. lookup_repository turns an "owner/name" pair into one; list_repositories shows both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |