optimize_context
Paid tool: for $0.001 USDC on Base, losslessly reduce redundant whitespace in prompt/context text, preserving words and fenced code. Returns cleaned text and approximate token counts. Call only when estimated savings are useful.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Prompt or tool-output text to clean. |