interactions:
- request:
    body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "What is
      the sum of 1 and 2?"}], "model": "claude-3-opus-20240229", "temperature": 1.0,
      "tools": [{"name": "add", "description": "Adds a and b.\n\n        Args:\n            a:
      first int\n            b: second int", "input_schema": {"type": "object", "properties":
      {"a": {"type": "integer"}, "b": {"type": "integer"}}, "required": ["a", "b"]}}]}'
    headers:
      ? !!python/object/apply:multidict._multidict.istr
      - Accept
      : - application/json
      ? !!python/object/apply:multidict._multidict.istr
      - Accept-Encoding
      : - gzip, deflate
      ? !!python/object/apply:multidict._multidict.istr
      - Connection
      : - keep-alive
      Content-Length:
      - '407'
      ? !!python/object/apply:multidict._multidict.istr
      - Content-Type
      : - application/json
      ? !!python/object/apply:multidict._multidict.istr
      - User-Agent
      : - Anthropic/Python 0.26.0
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Arch
      : - arm64
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Async
      : - 'false'
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Lang
      : - python
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-OS
      : - MacOS
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Package-Version
      : - 0.26.0
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Runtime
      : - CPython
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Runtime-Version
      : - 3.10.13
      ? !!python/object/apply:multidict._multidict.istr
      - anthropic-beta
      : - tools-2024-05-16
      ? !!python/object/apply:multidict._multidict.istr
      - anthropic-version
      : - '2023-06-01'
    method: POST
    uri: https://api.anthropic.com/v1/messages?beta=tools
  response:
    body:
      string: '{"id":"msg_01UzGkuRBUKt3PCim6D3c6F2","type":"message","role":"assistant","model":"claude-3-opus-20240229","content":[{"type":"text","text":"<thinking>\nTo
        answer the question \"What is the sum of 1 and 2?\", the add tool seems directly
        relevant since it takes two integers a and b as parameters and returns their
        sum.\n\nThe question provides the two integer values needed:\na = 1 \nb =
        2\n\nSince the required parameters are given, we can proceed with calling
        the add tool to get the answer.\n</thinking>"},{"type":"tool_use","id":"toolu_01Bcrbv9YeacQZ16euu2W2xp","name":"add","input":{"a":1,"b":2}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":636,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":155,"service_tier":"standard"}}'
    headers:
      CF-RAY:
      - 96e91f5578a8c8b9-EWR
      Connection:
      - keep-alive
      Content-Encoding:
      - gzip
      Content-Type:
      - application/json
      Date:
      - Wed, 13 Aug 2025 15:07:35 GMT
      Server:
      - cloudflare
      Transfer-Encoding:
      - chunked
      X-Robots-Tag:
      - none
      anthropic-organization-id:
      - 4257e925-ee99-4ee8-9c62-8e53716d5203
      anthropic-ratelimit-input-tokens-limit:
      - '400000'
      anthropic-ratelimit-input-tokens-remaining:
      - '400000'
      anthropic-ratelimit-input-tokens-reset:
      - '2025-08-13T15:07:30Z'
      anthropic-ratelimit-output-tokens-limit:
      - '80000'
      anthropic-ratelimit-output-tokens-remaining:
      - '80000'
      anthropic-ratelimit-output-tokens-reset:
      - '2025-08-13T15:07:35Z'
      anthropic-ratelimit-requests-limit:
      - '4000'
      anthropic-ratelimit-requests-remaining:
      - '3999'
      anthropic-ratelimit-requests-reset:
      - '2025-08-13T15:07:29Z'
      anthropic-ratelimit-tokens-limit:
      - '480000'
      anthropic-ratelimit-tokens-remaining:
      - '480000'
      anthropic-ratelimit-tokens-reset:
      - '2025-08-13T15:07:30Z'
      cf-cache-status:
      - DYNAMIC
      request-id:
      - req_011CS5vCkEGwo94rfS4cJVvf
      strict-transport-security:
      - max-age=31536000; includeSubDomains; preload
      via:
      - 1.1 google
    status:
      code: 200
      message: OK
version: 1
