compress
Compress a prompt into dense language and return the version with fewer tokens (typical 20-40% saving). Use it BEFORE sending prompts to any LLM to cut token cost without losing meaning. input=text to compress. [x402: 0.001 USDC on Base, pay-per-use]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "compress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text or prompt to compress |