jenkins_restart
Restart a Jenkins server, optionally waiting for running builds to complete before restarting. Choose a safe restart to preserve active builds or an immediate restart when a quick reboot is needed.
Instructions
Restart the Jenkins server.
Args: safe: If True (default), waits for running builds to finish before restarting. If False, restarts immediately (may abort running builds). session_name: Jenkins session to use
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "jenkins_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| safe | No | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |