jenkins_disable_node
Take a Jenkins node or agent offline with a custom reason message, making it unavailable for accepting new builds while keeping it visible in the Jenkins UI for troubleshooting and maintenance.
Instructions
Take a Jenkins node/agent offline with a reason message.
Args: node_name: Node name to disable reason: Reason for taking offline (displayed in Jenkins UI) session_name: Jenkins session to use
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": {
"node_name": "<node_name>"
},
"name": "jenkins_disable_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Taken offline via Jenkins MCP | |
| node_name | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |