build_log
Tail a build run's log and automatically decode UTF-16 output to return readable lines, detected encoding, truncation status, and material guard warnings.
Instructions
Tail a build run's log. The log is UTF-16 (resourcecompiler) — this decodes it for you,
returning the detected encoding, whether the tail was truncated, and any MATERIAL GUARD
warnings found in the full log (see build_status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Tail size in lines | |
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | Log file size in bytes | |
| lines | Yes | ||
| run_id | Yes | ||
| encoding | Yes | Log text encoding detected on read (utf-16 or utf-8) | |
| warnings | No | Material-guard findings over the whole log; None when clean | |
| truncated | No | True when only the tail was returned |