---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 550
    host: ""
    body: "{\"max_tokens\":14096,\"messages\":[{\"content\":[{\"text\":\"What's the weather in Florence, Italy?\",\"type\":\"text\"}],\"role\":\"user\"}],\"model\":\"claude-sonnet-4-20250514\",\"system\":[{\"text\":\"You are a helpful assistant\",\"type\":\"text\"}],\"thinking\":{\"budget_tokens\":10000,\"type\":\"enabled\"},\"tool_choice\":{\"disable_parallel_tool_use\":false,\"type\":\"auto\"},\"tools\":[{\"input_schema\":{\"properties\":{\"location\":{\"description\":\"the city\",\"type\":\"string\"}},\"required\":[\"location\"],\"type\":\"object\"},\"name\":\"weather\",\"description\":\"Get weather information for a location\"}]}"
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Anthropic/Go 1.10.0
    url: https://api.anthropic.com/v1/messages
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: "{\"id\":\"msg_01NmYsbcWZbtPpmV1aMa5WWT\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-20250514\",\"content\":[{\"type\":\"thinking\",\"thinking\":\"The user is asking for weather information for Florence, Italy. I have a weather function available that takes a location parameter. The user has provided the location as \\\"Florence, Italy\\\" which is specific enough for the weather function.\\n\\nLet me call the weather function with \\\"Florence, Italy\\\" as the location parameter.\",\"signature\":\"EuwDCkYIBxgCKkChgOvL+rOlboiQFkEOC20rmj1/Xs3mTGfMFk5lIVU0H0drGyFYAl+5JU5PoWng2ZU7J9EpJrLUonCw9KBjS78oEgzAegs6pV953eMRkQAaDKJXIOEXcqfXFXnNayIwweUSskDSybgjCXZOKTQBm5xBlvThzhK75k4zycqwZpx3zeDZrdaV/+MIjgK1GAVqKtMCWp9QcmFNxVmwMGsORlN0zS3KY+3Xgd1D489b1lMG+FT8t1Xy2HxDBLlk9XY6HUQK7nN3HNXu/liglYnLT0weuYHsrzp8QgVrmgSWKLtX2pCI6SB8Df+9oQLzppw81d9+Vm3o7aJeI4nzwMxmZRekUu2j3LJiBFq5iQEAYnaGchWJ5B60mT5dk3UhnjTJYjVfaqgTHqybIwZ0ZrkAho4cybEwmQV7fCNsVIDom3v2XwDQF2TLeOGp/uFNElP4mpzQsB7k9x4asSb/kMsW8N34E5oWevGYyWDsX6c1NkTcJ+afmVN0df8i77bzFwtkrSz7/N85vX85rUxNxXCUfUiX5RkXq1ZHEL/y34ecpa9lP2CikFATgYKTfFQfc1x84LAC2aiBsDTKZFaZZocJcTHbO/PC1Ui+n4Ef8z33epy+AmGELkXG0CPgp6cqB08+AgoFlH78GAE=\"},{\"type\":\"tool_use\",\"id\":\"toolu_01M2Zq5AL9cCGbQxtDYLVQQ4\",\"name\":\"weather\",\"input\":{\"location\":\"Florence, Italy\"}}],\"stop_reason\":\"tool_use\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":423,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":125,\"service_tier\":\"standard\"}}"
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 2.398491s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1879
    host: ""
    body: "{\"max_tokens\":14096,\"messages\":[{\"content\":[{\"text\":\"What's the weather in Florence, Italy?\",\"type\":\"text\"}],\"role\":\"user\"},{\"content\":[{\"signature\":\"EuwDCkYIBxgCKkChgOvL+rOlboiQFkEOC20rmj1/Xs3mTGfMFk5lIVU0H0drGyFYAl+5JU5PoWng2ZU7J9EpJrLUonCw9KBjS78oEgzAegs6pV953eMRkQAaDKJXIOEXcqfXFXnNayIwweUSskDSybgjCXZOKTQBm5xBlvThzhK75k4zycqwZpx3zeDZrdaV/+MIjgK1GAVqKtMCWp9QcmFNxVmwMGsORlN0zS3KY+3Xgd1D489b1lMG+FT8t1Xy2HxDBLlk9XY6HUQK7nN3HNXu/liglYnLT0weuYHsrzp8QgVrmgSWKLtX2pCI6SB8Df+9oQLzppw81d9+Vm3o7aJeI4nzwMxmZRekUu2j3LJiBFq5iQEAYnaGchWJ5B60mT5dk3UhnjTJYjVfaqgTHqybIwZ0ZrkAho4cybEwmQV7fCNsVIDom3v2XwDQF2TLeOGp/uFNElP4mpzQsB7k9x4asSb/kMsW8N34E5oWevGYyWDsX6c1NkTcJ+afmVN0df8i77bzFwtkrSz7/N85vX85rUxNxXCUfUiX5RkXq1ZHEL/y34ecpa9lP2CikFATgYKTfFQfc1x84LAC2aiBsDTKZFaZZocJcTHbO/PC1Ui+n4Ef8z33epy+AmGELkXG0CPgp6cqB08+AgoFlH78GAE=\",\"thinking\":\"The user is asking for weather information for Florence, Italy. I have a weather function available that takes a location parameter. The user has provided the location as \\\"Florence, Italy\\\" which is specific enough for the weather function.\\n\\nLet me call the weather function with \\\"Florence, Italy\\\" as the location parameter.\",\"type\":\"thinking\"},{\"id\":\"toolu_01M2Zq5AL9cCGbQxtDYLVQQ4\",\"input\":{\"location\":\"Florence, Italy\"},\"name\":\"weather\",\"type\":\"tool_use\"}],\"role\":\"assistant\"},{\"content\":[{\"tool_use_id\":\"toolu_01M2Zq5AL9cCGbQxtDYLVQQ4\",\"content\":[{\"text\":\"40 C\",\"type\":\"text\"}],\"type\":\"tool_result\"}],\"role\":\"user\"}],\"model\":\"claude-sonnet-4-20250514\",\"system\":[{\"text\":\"You are a helpful assistant\",\"type\":\"text\"}],\"thinking\":{\"budget_tokens\":10000,\"type\":\"enabled\"},\"tool_choice\":{\"disable_parallel_tool_use\":false,\"type\":\"auto\"},\"tools\":[{\"input_schema\":{\"properties\":{\"location\":{\"description\":\"the city\",\"type\":\"string\"}},\"required\":[\"location\"],\"type\":\"object\"},\"name\":\"weather\",\"description\":\"Get weather information for a location\"}]}"
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Anthropic/Go 1.10.0
    url: https://api.anthropic.com/v1/messages
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: "{\"id\":\"msg_01DyEBuCyDtP4cjnhtqdbqrh\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"claude-sonnet-4-20250514\",\"content\":[{\"type\":\"text\",\"text\":\"The current weather in Florence, Italy is 40°C (104°F). That's quite hot! It seems like a very warm day in Florence.\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":563,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":35,\"service_tier\":\"standard\"}}"
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 1.744995167s
