getBuild
Get a specific build or the last build of a Jenkins job by providing the job full name. Optionally filter response fields with a tree parameter.
Instructions
Get a specific build or the last build of a Jenkins 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": {
"jobFullName": "<jobFullName>"
},
"name": "getBuild"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobFullName | Yes | Full name of the Jenkins job | |
| buildNumber | No | Build number (omit for last build) | |
| tree | No | Jenkins tree parameter to filter response fields |