ado_cancel_build
Cancel an in-progress Azure DevOps build by providing the build ID. Stop unnecessary pipeline runs.
Instructions
Cancel an in-progress build.
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": {
"buildId": "<buildId>"
},
"name": "ado_cancel_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildId | Yes | Build ID | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) |