get_job_config
Fetch a Jenkins job's config.xml definition to inspect or back up its exact configuration. Requires Job/ExtendedRead permission; Job/Read alone returns 403.
Instructions
Fetch a job's config.xml definition.
Requires Job/ExtendedRead in Jenkins; Job/Read alone is not enough and fails with 403 while other tools keep working.
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>"
},
"name": "get_job_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |