disable_job
Halt Jenkins builds for a selected job while retaining its history; queued builds require separate cancellation, and the change is reversible.
Instructions
Disable a job so Jenkins stops building it.
Queued builds are not cancelled; use cancel_queue_item for those. The job and its history are kept, so this is reversible with enable_job.
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": {
"job_name": "<job_name>"
},
"name": "disable_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes |