---
source: lib/components/fabro-llm/tests/it/wire/anthropic.rs
expression: rendered
---
{
  "id": "msg_test",
  "model": "claude-sonnet-4-20250514",
  "provider": "anthropic",
  "message": {
    "role": "assistant",
    "content": [
      {
        "kind": "text",
        "data": "Let me search."
      },
      {
        "kind": "tool_call",
        "data": {
          "id": "toolu_01",
          "name": "search",
          "type": "function",
          "arguments": {
            "query": "foo"
          },
          "raw_arguments": null
        }
      }
    ]
  },
  "finish_reason": "tool_calls",
  "usage": {
    "input_tokens": 30,
    "output_tokens": 12,
    "reasoning_tokens": 0,
    "cache_read_tokens": 0,
    "cache_write_tokens": 0
  },
  "raw": {
    "id": "msg_test",
    "type": "message",
    "role": "assistant",
    "model": "claude-sonnet-4-20250514",
    "content": [
      {
        "type": "text",
        "text": "Let me search."
      },
      {
        "type": "tool_use",
        "id": "toolu_01",
        "name": "search",
        "input": {
          "query": "foo"
        }
      }
    ],
    "stop_reason": "tool_use",
    "stop_sequence": null,
    "usage": {
      "input_tokens": 30,
      "output_tokens": 12
    }
  },
  "warnings": [],
  "rate_limit": null
}
