Skip to content

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

1.2 KB
Raw Blame
{
  "config": {},
  "input": [
    {
      "description": "desc 0",
      "name": "other_tool_0"
    }
  ],
  "input_sha256": "d266ff10965e9e45f7a464dc376554f36e73ad61b2a69d9dca09d9c750836093",
  "output": [
    [
      {
        "description": "desc 0",
        "name": "other_tool_0"
      },
      {
        "description": "Retrieve original uncompressed content that was compressed to save tokens. Use this when you need more data than what's shown in compressed tool results. The hash is provided in compression markers like [N items compressed... hash=abc123].",
        "input_schema": {
          "properties": {
            "hash": {
              "description": "Hash key from the compression marker (e.g., 'abc123' from hash=abc123)",
              "type": "string"
            },
            "query": {
              "description": "Optional search query to filter results. If provided, only returns items matching the query. If omitted, returns all original items.",
              "type": "string"
            }
          },
          "required": [
            "hash"
          ],
          "type": "object"
        },
        "name": "headroom_retrieve"
      }
    ],
    true
  ],
  "recorded_at": "2026-04-23T23:51:37.801596+00:00",
  "transform": "ccr"
}