get_build_status
Retrieve the current status of a Jenkins build by providing the job path and build number. Use 'lastBuild' to fetch the most recent build's status.
Instructions
Get the status of a Jenkins build
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": {
"jobPath": "<jobPath>"
},
"name": "get_build_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildNumber | No | Build number (use "lastBuild" for most recent) | |
| jobPath | Yes | Path to the Jenkins job (e.g., "view/xxx_debug") |