truncate_text_token_budget
Truncates text to an exact token budget while preserving unicode emojis, code blocks, and markdown syntax. Use it when output must fit strict token limits without breaking content structure.
Instructions
Clamps text to exact token budgets without splitting unicode emojis, code blocks, or markdown syntax. (0.005 USDC on Base L2)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |