get_pipeline_log
Retrieve a specific Azure DevOps pipeline run log by run ID and timeline log ID, with optional line-range and JSON/plain formatting to inspect build or deployment output.
Instructions
Retrieve a specific pipeline log using the timeline log identifier
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": {
"runId": "<runId>",
"logId": "<logId>"
},
"name": "get_pipeline_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logId | Yes | Log identifier from the timeline record | |
| runId | Yes | Pipeline run identifier | |
| format | No | Optional format for the log contents (plain or json) | |
| endLine | No | Optional ending line number for the log segment | |
| projectId | No | The ID or name of the project (Default: no default project) | |
| startLine | No | Optional starting line number for the log segment | |
| pipelineId | No | Optional pipeline numeric ID for reference only |