build_status
Retrieve status of a specific or latest Jenkins build, including build number, status, duration, display name, and description.
Instructions
Get the status of a specific build or the latest build of a job. Shows build number, status, duration, displayName, and description.
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": {
"jobName": "<jobName>"
},
"name": "build_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobName | Yes | Jenkins job name | |
| buildNumber | No | Build number (omit for latest) |