Log Tail
tail_build_logRetrieve the final lines of a Zuul build log to diagnose failures efficiently, using fewer tokens than a full summary when only the tail is needed.
Instructions
Get the last N lines of a build log — fastest way to see why a build failed.
More token-efficient than get_build_log(mode="summary") when you just need the tail.
Args: uuid: Build UUID tenant: Tenant (default from env) lines: Lines from the end (default 50, max 500) log_name: Log file to read (default "job-output.txt") url: Zuul build URL (alternative to uuid + tenant) skip_postrun: Tail from run phase end, skipping post-run (default true) direct_log_url: Log URL from a prior call. Skips build metadata fetch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| uuid | No | ||
| lines | No | ||
| tenant | No | ||
| log_name | No | job-output.txt | |
| skip_postrun | No | ||
| direct_log_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |