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.

606 B
Raw Blame
{
  "model": "claude-test-20260924",
  "max_tokens": 128,
  "stream": true,
  "messages": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "Run the proposed action."
        }
      ]
    }
  ],
  "tools": [
    {
      "name": "run_action",
      "description": "Run a sanitized test action.",
      "input_schema": {
        "type": "object",
        "properties": {
          "target": {"type": "string"}
        },
        "required": ["target"]
      }
    }
  ],
  "safeguards": {
    "mode": "auto",
    "tool_use_ids": ["toolu_auto_001"]
  }
}