stop_build
Stop a running Jenkins build by supplying the job name, with an optional build number to select a specific build.
Instructions
Stop/cancel a running Jenkins 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": {
"jobName": "<jobName>"
},
"name": "stop_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobName | Yes | Jenkins job name | |
| buildNumber | No | Build number to stop (omit for latest) |