get_build_console
Read a Jenkins build's console output to follow running builds; paginate logs using start and next_start.
Instructions
Read a build's console output.
Output is truncated to MCP_MAX_LOG_BYTES; pass the returned next_start back as start to continue reading, which is how a running build is followed. build_number accepts a number or an alias such as lastBuild. Invalid or incomplete Jenkins pagination metadata is refused rather than guessed.
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": {
"job_name": "<job_name>"
},
"name": "get_build_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | ||
| job_name | Yes | ||
| build_number | No | lastBuild |