---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 548
    host: ""
    body: '{"max_tokens":4096,"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":4000,"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:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    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: '{"model":"claude-sonnet-4-20250514","id":"msg_014p8oaAg6qzrZ2XRyomYBNQ","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The user is asking about the weather in 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. I have all the required parameters to make the function call.","signature":"Es8DCkYICxgCKkBROcM3239oIjVRtMTZin6UAjoE9xO0SXVQMr4UmHPaf8ABCrDZU7HQV0rZBBQjHz/LYBodQYqfhI6JW2CdZe5cEgy8y5mudpoPkWnTaV8aDJVR52Mx2nO7+eGpPyIwDFer1KYmKviIXPO6bpzvoC3AZzj7EyHpgeZMZZkKG2IZEC3tS0X46Gz0qAjQe3GjKrYCxSKWUv+dBGxXLgI8JtU/knWJR5GCTlLny+dvOLqdMjQIS/eJI2chHhrsND7SIcQG4EC2b21XBH07VbzYPWEDFmZULyXNXS66nkeqbqj+Y9lmhAn1ONYt47Txlaf0Zf5AAATe53hdDWd8VkJwcgHV7y142xtwVGK4EefJ06FIRfjpvhdKKjVHvgH4fqdTjtuchawXvek10MMqjl1BfOVNa3RoV+Y3ACpFxBXUVFOK7yqJExZYAjtCLTme6LGNhl/stnCq+I4mV3zHiy6PD3svzUyEO1bwvBpTXXXEyl2sRhm764/Rs/BxiVr+Z35zimii76pz+S+VT8Tch9ymIkZ8WySqFp3M2c2m/fpxZl8Iy4A2Y/cmqVHXyiX2RbM4/ViWJtj3V2UTVNwrKh4Uivqv4vvcwomAtRgB"},{"type":"tool_use","id":"toolu_014azqsWLU8Djh6RhmBGRC2u","name":"weather","input":{"location":"Florence, Italy"},"caller":{"type":"direct"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":424,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":118,"service_tier":"standard","inference_geo":"not_available"}}'
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 4.487023084s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1804
    host: ""
    body: '{"max_tokens":4096,"messages":[{"content":[{"text":"What''s the weather in Florence, Italy?","type":"text"}],"role":"user"},{"content":[{"signature":"Es8DCkYICxgCKkBROcM3239oIjVRtMTZin6UAjoE9xO0SXVQMr4UmHPaf8ABCrDZU7HQV0rZBBQjHz/LYBodQYqfhI6JW2CdZe5cEgy8y5mudpoPkWnTaV8aDJVR52Mx2nO7+eGpPyIwDFer1KYmKviIXPO6bpzvoC3AZzj7EyHpgeZMZZkKG2IZEC3tS0X46Gz0qAjQe3GjKrYCxSKWUv+dBGxXLgI8JtU/knWJR5GCTlLny+dvOLqdMjQIS/eJI2chHhrsND7SIcQG4EC2b21XBH07VbzYPWEDFmZULyXNXS66nkeqbqj+Y9lmhAn1ONYt47Txlaf0Zf5AAATe53hdDWd8VkJwcgHV7y142xtwVGK4EefJ06FIRfjpvhdKKjVHvgH4fqdTjtuchawXvek10MMqjl1BfOVNa3RoV+Y3ACpFxBXUVFOK7yqJExZYAjtCLTme6LGNhl/stnCq+I4mV3zHiy6PD3svzUyEO1bwvBpTXXXEyl2sRhm764/Rs/BxiVr+Z35zimii76pz+S+VT8Tch9ymIkZ8WySqFp3M2c2m/fpxZl8Iy4A2Y/cmqVHXyiX2RbM4/ViWJtj3V2UTVNwrKh4Uivqv4vvcwomAtRgB","thinking":"The user is asking about the weather in 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. I have all the required parameters to make the function call.","type":"thinking"},{"id":"toolu_014azqsWLU8Djh6RhmBGRC2u","input":{"location":"Florence, Italy"},"name":"weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_014azqsWLU8Djh6RhmBGRC2u","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":4000,"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:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    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: '{"model":"claude-sonnet-4-20250514","id":"msg_01MLTnJpHAVRZVouyZD7xj4j","type":"message","role":"assistant","content":[{"type":"text","text":"The current temperature in Florence, Italy is 40°C (104°F). That''s quite hot! Make sure to stay hydrated and seek shade or air conditioning if you''re planning to be outdoors."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":557,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":46,"service_tier":"standard","inference_geo":"not_available"}}'
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 2.416474458s
