jenkins_update_job_config
Update a Jenkins job's entire configuration by replacing its config.xml with new XML content. Specify the job name and provide the new XML to apply changes to the job's settings directly.
Instructions
Update a job's XML configuration (config.xml).
⚠️ This replaces the entire job configuration.
Args: job_name: Full job name config_xml: New XML configuration content 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": {
"job_name": "<job_name>",
"config_xml": "<config_xml>"
},
"name": "jenkins_update_job_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| config_xml | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |