ado_pipelines_get_logs
Retrieve build log references for an Azure DevOps pipeline run, returning a truncated list of log entries (IDs, types, URLs, line counts) to fetch full logs.
Instructions
Get build log references for an Azure DevOps pipeline run. Returns a list of log entries (id, type, url, lineCount) truncated to 10 KB to prevent context overflow. Follow the url of each log entry to fetch full log content. Requires vso.build PAT scope.
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>"
},
"name": "ado_pipelines_get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildId | Yes | Build or run ID | |
| project | Yes | Project name |