Get build logs
get_build_logsFetches console logs from a specific build to identify errors, failure reasons, or issues. Returns log text per stage/task, truncating large entries to the last 150 lines.
Instructions
Fetch the console log output of a build. Use this when the user asks for build logs, error details, failure reason, or what went wrong in a build. Returns log text per stage/task. Large logs are automatically truncated to the last 150 lines per entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Azure DevOps project name or id. Defaults to AZDO_PROJECT if set. | |
| buildId | Yes | Build id (from get_last_build or list_builds). | |
| maxLinesPerEntry | No | Max lines to return per log entry. Default: 150. |