jenkins_cancel_queue_item
Cancel a pending Jenkins build queue item by providing its numeric ID to stop it from executing.
Instructions
Cancel a Jenkins queue item. Requires JENKINS_MCP_ENABLE_WRITES=1.
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": {
"item_id": "<item_id>"
},
"name": "jenkins_cancel_queue_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes |