get_failed_build_log
Retrieve the console output of the most recent failed build for a specified Jenkins job to quickly diagnose issues.
Instructions
Get the console output of the last failed build for a given 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": {
"jobPath": "<jobPath>"
},
"name": "get_failed_build_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobPath | Yes | Path to the Jenkins job (e.g., "job/MyJob" or "view/xxx/job/MyJob") |