pipelines_get_build_log_by_id
Retrieves a specific Azure DevOps build log by log ID for a project and build, with optional start and end line range. Use it to inspect build output or diagnose pipeline failures.
Instructions
Get a specific build log by log ID.
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": {
"project": "<project>",
"buildId": "<buildId>",
"logId": "<logId>"
},
"name": "pipelines_get_build_log_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logId | Yes | Log ID. | |
| buildId | Yes | Build ID. | |
| endLine | No | End line. | |
| project | Yes | Project ID or name. | |
| startLine | No | Start line. |