llmtrim_compress_text
Shrink a text chunk (tool output, document) by compressing it; returns the compressed text with token savings to reduce cost.
Instructions
Compress a single text blob and report the token savings. Use this to shrink one chunk (a tool output, a document) rather than a whole request. The text is wrapped in a minimal request, compressed, and the shrunk text is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | A single text blob to shrink (a tool output, a document, a message). It is wrapped in a one-message request, compressed, and the shrunk text is returned. |