jenkins_get_build
Retrieve details of a specific build or the latest build for a Jenkins job. Provide the job name and optionally the build number.
Instructions
Get details for a specific build or the last build of a job
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": "jenkins_get_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | Job name or nested path | |
| build_number | No | Build number; omit for lastBuild |