set_node_offline
Take a Jenkins node offline or bring it back online to control whether new builds are scheduled there, preventing unwanted work while allowing running builds to finish.
Instructions
Take a node offline, or bring it back online.
Taking a node offline is destructive: running builds keep going but no new work is scheduled there, which can stall a pipeline. Requires MCP_ALLOW_NODE_WRITE, and taking offline additionally requires MCP_ALLOW_DESTRUCTIVE.
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>",
"offline": "<offline>"
},
"name": "set_node_offline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Managed by MCP | |
| offline | Yes | ||
| node_name | Yes |