caelara_agent_token_compressor
Compress text to a chosen ratio of its original length to reduce token load in agent workflows.
Instructions
[Agent Safety] Compress text to a target ratio of its original length Measured p50 11 ms, p95 15 ms (2026-11-21, benchmarks.caelaralabs.com). Calls https://agent.caelaralabs.com.
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": {
"text": "<text>"
},
"name": "caelara_agent_token_compressor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to compress | |
| ratio | No | Target ratio 0.1-0.9 (default 0.5) |