Agent Rest Stop – SizeCap (Document Byte-Cap Fitter) is a paid API for AI agents from agent-gas-station.agent-gas-station.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).
Truncates or fits a document to a specified maximum byte size, returning a compacted version that does not exceed the byte cap.
Fits a document under a byte cap.
A version of the input document that has been truncated or fitted to not exceed the specified max_bytes limit, returned as a string.
POSThttps://agent-gas-station.agent-gas-station.workers.dev/v1/SizeCap?utm_source=zero.xyzChoose this endpoint when you need a simple, deterministic byte-cap on a document — especially in agentic pipelines where downstream services or LLM context windows have hard byte limits. It is distinct from general text summarization or compression: it enforces a strict byte ceiling rather than semantically condensing content.
| Field | Type | Description |
|---|---|---|
| doc | string | |
| max_bytes | string |
No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"