jenkins_safe_restart
Restart Jenkins safely by waiting for running builds to complete before initiating the restart. Requires explicit confirmation.
Instructions
Safely restart Jenkins — waits for running builds to finish before restarting (requires confirm: true)
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": {
"confirm": "<confirm>"
},
"name": "jenkins_safe_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to proceed | |
| instance | No | Jenkins instance name (optional — defaults to first configured instance) |