Squeeze log
squeeze_logShrink a failed CI log. Pass a GitHub Actions job link or the pasted log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | Pasted log text, up to 2 MB. Omit this when url is set. (maximum length 2097152). | |
| url | No | Public https log URL, including a GitHub Actions job link, up to 2 MB. Use this or log, not both. | |
| kind | No | build, test, server, or auto. Default auto. | |
| max_sats | No | Most this call may charge. Minimum 1. A higher total charges nothing. | |
| max_lines | No | Cap on the condensed log. Default 160. (minimum 20, maximum 2000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | approval_required, limit_exceeded, or insufficient_balance when the call stopped. | |
| which | No | Which limit: per_call, per_day, per_session, per_hour_buys, per_minute_calls, or per_minute_sats. | |
| content | No | Delivered text. Empty when the call did not deliver. | |
| message | No | ||
| order_id | No | Order id after a charge. Null when nothing was charged. | |
| truncated | No | True when the source was longer than content, or the page itself was cut. | |
| total_cost | No | All-in price string. | |
| approval_url | No | Page where the person approves this exact price. | |
| balance_sats | No | Credit balance after the call, or null when it was not read. | |
| sats_charged | No | Sats charged for this call. 0 when nothing was charged. | |
| total_length | No | Characters before truncation. Larger than content_length when truncated is true. | |
| content_length | No | Characters in content. |