getBuildLog
Retrieve paginated log lines from a Jenkins build by job name, with optional build number, skip, and limit parameters.
Instructions
Retrieves some log lines with pagination for a specific build or the last 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": {
"jobFullName": "<jobFullName>"
},
"name": "getBuildLog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobFullName | Yes | Full name of the Jenkins job | |
| buildNumber | No | Build number (omit for last build) | |
| skip | No | Number of lines to skip (negative = from end) | |
| limit | No | Number of lines to return (positive=from start, negative=from end, default 100) |