get_pipeline_log
Retrieve Azure DevOps pipeline run logs; without a log ID, fetch the last lines of every failed step to diagnose build failures.
Instructions
Log of a run. Without log_id, returns the last lines of every failed step. (log_id values come from get_pipeline_run.)
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": {
"build_id": "<build_id>"
},
"name": "get_pipeline_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | No | ||
| project | No | ||
| build_id | Yes | ||
| tail_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |