get_build_status
Check the status of a Jenkins build using the job path and optionally the build number, such as 'lastBuild' for the last build.
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 |
|---|---|---|---|
| jobPath | Yes | Path to the Jenkins job (e.g., "view/xxx_debug") | |
| buildNumber | No | Build number (use "lastBuild" for most recent) |