jenkins_update_job_config
Update a Jenkins job by replacing its config.xml, allowing configuration changes via HTTP without plugins. Requires job-config write permissions.
Instructions
Replace job config.xml; Jenkins reserializes it. Requires job-config write gates.
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": "<job>",
"config_xml": "<config_xml>"
},
"name": "jenkins_update_job_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | ||
| config_xml | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes |