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).
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": {
"run_id": "<run_id>"
},
"name": "build_log"
}
}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 |