distill_response
Compress any generic tool response (JSON, HTML, or text) to fit a specific token budget, preserving critical semantic information for efficient LLM context management.
Instructions
Progressively compress any generic tool response (JSON, HTML, or text) to fit within a specific token budget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_data | Yes | ||
| token_budget | Yes | ||
| content_type | No | auto | |
| preserve_keys | No |