headroom_compress
Compress bloated JSON, JSONL, logs, stack traces, CSV, or prose and cache raw payloads for lossless retrieval by hash, path, span, slice, or regex.
Instructions
Reversibly compress bloated JSON arrays, JSONL, terminal logs, stack traces, CSV, or prose using SmartCrusher/LogCrusher/TracebackCrusher and cache the exact raw payload in the CCR vault.
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": {
"content": "<content>"
},
"name": "headroom_compress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| source | No | Optional label (e.g. 'kubectl-pods' or 'pytest'). | |
| content | Yes | Raw tool output or payload to compress. | |
| modality | No | Optional explicit modality override; omit for auto-detection. |