list_builds
Retrieve recent builds for a Jenkins job by job path, with an optional limit on results. Use it to review build history, statuses, and numbers before triggering, stopping, or inspecting a build.
Instructions
List builds for 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": {
"jobPath": "<jobPath>"
},
"name": "list_builds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of builds to return (default: 10) | |
| jobPath | Yes | Path to the Jenkins job |