interactions:
- request:
    body: '{"max_tokens": 500, "messages": [{"role": "user", "content": "What is the
      weather in San Francisco, CA?"}, {"role": "assistant", "content": [{"text":
      "<thinking>\nThe get_weather tool is directly relevant for answering this question
      about the weather in a specific location. \n\nThe get_weather tool requires
      a \"location\" parameter. The user has provided the location of \"San Francisco,
      CA\" in their question, so we have the necessary information to make the API
      call.\n\nNo other tools are needed to answer this question. We can proceed with
      calling the get_weather tool with the provided location.\n</thinking>", "type":
      "text"}, {"id": "toolu_01DYJo37oETVsCdLTTcCWcdq", "input": {"location": "San
      Francisco, CA"}, "name": "get_weather", "type": "tool_use"}]}, {"role": "user",
      "content": [{"type": "tool_result", "tool_use_id": "toolu_01DYJo37oETVsCdLTTcCWcdq",
      "content": [{"type": "text", "text": "The weather is 73f"}]}]}], "model": "claude-3-opus-20240229",
      "tools": [{"name": "get_weather", "description": "Get the weather for a specific
      location", "input_schema": {"type": "object", "properties": {"location": {"type":
      "string"}}}}]}'
    headers:
      accept:
      - application/json
      accept-encoding:
      - gzip, deflate
      anthropic-version:
      - '2023-06-01'
      connection:
      - keep-alive
      content-length:
      - '1146'
      content-type:
      - application/json
      host:
      - api.anthropic.com
      user-agent:
      - AsyncAnthropic/Python 0.28.0
      x-stainless-arch:
      - arm64
      x-stainless-async:
      - async:asyncio
      x-stainless-lang:
      - python
      x-stainless-os:
      - MacOS
      x-stainless-package-version:
      - 0.28.0
      x-stainless-runtime:
      - CPython
      x-stainless-runtime-version:
      - 3.10.13
    method: POST
    uri: https://api.anthropic.com/v1/messages
  response:
    body:
      string: !!binary |
        H4sIAAAAAAAAA0yPwUoDQQyGX2XIeSp1K62dmxZ7EASheFFkme6m22lnk3WSocrSd/IZfDLZxYKn
        kO/7E/h7CDU4aKUpp9fzVXfYbg5PdHzZHU6P26Z7kNdnsKBfHQ4pFPENgoXEcQBeJIh6UrDQco0R
        HFTR5xonswl3WSbFtLiZFsUSLFRMiqTg3vrLQ8XP4XQcDu69YG2YjO7RJJQc1ewSt+PeoJYn9LrH
        ZJQ52pFWOSUkNRcTyGw8mXXyVAWp2JrVnQliFrOf7/UVnN8tiHJXJvTCBA6Q6lJzIvgTgh8ZqUJw
        lGO0kMfCrodAXdZS+Ygk4BbzWwuc9T8rlufzLwAAAP//AwA07MZOTwEAAA==
    headers:
      CF-Cache-Status:
      - DYNAMIC
      CF-RAY:
      - 892a9e943b0043e3-EWR
      Connection:
      - keep-alive
      Content-Encoding:
      - gzip
      Content-Type:
      - application/json
      Date:
      - Wed, 12 Jun 2024 14:44:34 GMT
      Server:
      - cloudflare
      Transfer-Encoding:
      - chunked
      anthropic-ratelimit-requests-limit:
      - '4000'
      anthropic-ratelimit-requests-remaining:
      - '3999'
      anthropic-ratelimit-requests-reset:
      - '2024-06-12T14:44:35Z'
      anthropic-ratelimit-tokens-limit:
      - '400000'
      anthropic-ratelimit-tokens-remaining:
      - '399000'
      anthropic-ratelimit-tokens-reset:
      - '2024-06-12T14:44:35Z'
      request-id:
      - req_01QBDFJixzyNenjQRNCo5Lbu
      via:
      - 1.1 google
      x-cloud-trace-context:
      - d3ebb9b37262f04bebb53de985ae1b97
    status:
      code: 200
      message: OK
version: 1
