llmtrim_compress_text
Compress a single text blob to reduce token count and report savings. Use to shrink individual chunks like tool outputs or documents.
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. |