jenkins_cancel_queue
Cancel a queued build in Jenkins by specifying its queue ID, preventing it from executing.
Instructions
Cancel a queued build by queue ID
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": {
"queueId": "<queueId>"
},
"name": "jenkins_cancel_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queueId | Yes | Queue item ID to cancel | |
| instance | No | Jenkins instance name (optional — defaults to first configured instance) |