--- version: 1 interactions: - request: body: '{"max_tokens":512,"messages":[{"content":[{"text":"What''s the weather in San Francisco, New York, and London? Check all three cities at once.","type":"text"}],"role":"user"}],"model":"claude-3-7-sonnet-latest","tools":[{"input_schema":{"properties":{"city":{"type":"string"},"units":{"enum":["celsius","fahrenheit"],"type":"string"}},"required":["city"],"type":"object"},"name":"get_weather","description":"Get weather for a city"}]}' form: {} headers: Accept: - application/json Anthropic-Version: - "2023-06-01" Content-Type: - application/json User-Agent: - Anthropic/Go 1.19.0 X-Api-Key: - fake-api-key-for-testing-only X-Stainless-Arch: - arm64 X-Stainless-Lang: - go X-Stainless-Os: - MacOS X-Stainless-Package-Version: - 1.19.0 X-Stainless-Retry-Count: - "0" X-Stainless-Runtime: - go X-Stainless-Runtime-Version: - go1.25.5 X-Stainless-Timeout: - "600" url: https://api.anthropic.com/v1/messages?beta=true method: POST response: body: '{"model":"claude-3-7-sonnet-20250219","id":"msg_01GhukHZbus69MS8zCp3tqTa","type":"message","role":"assistant","content":[{"type":"text","text":"I''d be happy to check the weather for San Francisco, New York, and London for you. I''ll need to look up each city individually."},{"type":"tool_use","id":"toolu_019dfQh1VSo4ykF3MUFvGpMg","name":"get_weather","input":{"city":"San Francisco"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":414,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":85,"service_tier":"standard"}}' headers: Anthropic-Organization-Id: - 4b663dca-f14e-490d-9965-801817fd453d Anthropic-Ratelimit-Input-Tokens-Limit: - "40000" Anthropic-Ratelimit-Input-Tokens-Remaining: - "39000" Anthropic-Ratelimit-Input-Tokens-Reset: - "2026-01-23T07:42:01Z" Anthropic-Ratelimit-Output-Tokens-Limit: - "16000" Anthropic-Ratelimit-Output-Tokens-Remaining: - "16000" Anthropic-Ratelimit-Output-Tokens-Reset: - "2026-01-23T07:42:02Z" Anthropic-Ratelimit-Requests-Limit: - "1000" Anthropic-Ratelimit-Requests-Remaining: - "998" Anthropic-Ratelimit-Requests-Reset: - "2026-01-23T07:42:00Z" Anthropic-Ratelimit-Tokens-Limit: - "56000" Anthropic-Ratelimit-Tokens-Remaining: - "55000" Anthropic-Ratelimit-Tokens-Reset: - "2026-01-23T07:42:01Z" Cf-Cache-Status: - DYNAMIC Cf-Ray: - 9c25a6e2df5aa143-LAX Content-Type: - application/json Date: - Fri, 23 Jan 2026 07:42:01 GMT Request-Id: - req_011CXPw5fUs1tb4koxa1VUac Server: - cloudflare Strict-Transport-Security: - max-age=31536000; includeSubDomains; preload X-Envoy-Upstream-Service-Time: - "1637" X-Robots-Tag: - none status: 200 OK code: 200 duration: "" - request: body: '{"max_tokens":512,"messages":[{"content":[{"text":"What''s the weather in San Francisco, New York, and London? Check all three cities at once.","type":"text"}],"role":"user"},{"content":[{"text":"I''d be happy to check the weather for San Francisco, New York, and London for you. I''ll need to look up each city individually.","type":"text"},{"id":"toolu_019dfQh1VSo4ykF3MUFvGpMg","input":{"city":"San Francisco"},"name":"get_weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_019dfQh1VSo4ykF3MUFvGpMg","content":[{"text":"Weather in San Francisco: Sunny 72°F","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-3-7-sonnet-latest","tools":[{"input_schema":{"properties":{"city":{"type":"string"},"units":{"enum":["celsius","fahrenheit"],"type":"string"}},"required":["city"],"type":"object"},"name":"get_weather","description":"Get weather for a city"}]}' form: {} headers: Accept: - application/json Anthropic-Version: - "2023-06-01" Content-Type: - application/json User-Agent: - Anthropic/Go 1.19.0 X-Api-Key: - fake-api-key-for-testing-only X-Stainless-Arch: - arm64 X-Stainless-Lang: - go X-Stainless-Os: - MacOS X-Stainless-Package-Version: - 1.19.0 X-Stainless-Retry-Count: - "0" X-Stainless-Runtime: - go X-Stainless-Runtime-Version: - go1.25.5 X-Stainless-Timeout: - "600" url: https://api.anthropic.com/v1/messages?beta=true method: POST response: body: '{"model":"claude-3-7-sonnet-20250219","id":"msg_0146jGKLKCa86wwR9aHbrEfe","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_015Sh8xNQBhJJnBCLz8x9F6f","name":"get_weather","input":{"city":"New York"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":521,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":55,"service_tier":"standard"}}' headers: Anthropic-Organization-Id: - 4b663dca-f14e-490d-9965-801817fd453d Anthropic-Ratelimit-Input-Tokens-Limit: - "40000" Anthropic-Ratelimit-Input-Tokens-Remaining: - "40000" Anthropic-Ratelimit-Input-Tokens-Reset: - "2026-01-23T07:42:02Z" Anthropic-Ratelimit-Output-Tokens-Limit: - "16000" Anthropic-Ratelimit-Output-Tokens-Remaining: - "16000" Anthropic-Ratelimit-Output-Tokens-Reset: - "2026-01-23T07:42:03Z" Anthropic-Ratelimit-Requests-Limit: - "1000" Anthropic-Ratelimit-Requests-Remaining: - "999" Anthropic-Ratelimit-Requests-Reset: - "2026-01-23T07:42:02Z" Anthropic-Ratelimit-Tokens-Limit: - "56000" Anthropic-Ratelimit-Tokens-Remaining: - "56000" Anthropic-Ratelimit-Tokens-Reset: - "2026-01-23T07:42:02Z" Cf-Cache-Status: - DYNAMIC Cf-Ray: - 9c25a6edf8f7a143-LAX Content-Type: - application/json Date: - Fri, 23 Jan 2026 07:42:02 GMT Request-Id: - req_011CXPw5o5mF8wtv3QiE2tkd Server: - cloudflare Strict-Transport-Security: - max-age=31536000; includeSubDomains; preload X-Envoy-Upstream-Service-Time: - "1008" X-Robots-Tag: - none status: 200 OK code: 200 duration: "" - request: body: '{"max_tokens":512,"messages":[{"content":[{"text":"What''s the weather in San Francisco, New York, and London? Check all three cities at once.","type":"text"}],"role":"user"},{"content":[{"text":"I''d be happy to check the weather for San Francisco, New York, and London for you. I''ll need to look up each city individually.","type":"text"},{"id":"toolu_019dfQh1VSo4ykF3MUFvGpMg","input":{"city":"San Francisco"},"name":"get_weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_019dfQh1VSo4ykF3MUFvGpMg","content":[{"text":"Weather in San Francisco: Sunny 72°F","type":"text"}],"type":"tool_result"}],"role":"user"},{"content":[{"id":"toolu_015Sh8xNQBhJJnBCLz8x9F6f","input":{"city":"New York"},"name":"get_weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_015Sh8xNQBhJJnBCLz8x9F6f","content":[{"text":"Weather in New York: Sunny 72°F","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-3-7-sonnet-latest","tools":[{"input_schema":{"properties":{"city":{"type":"string"},"units":{"enum":["celsius","fahrenheit"],"type":"string"}},"required":["city"],"type":"object"},"name":"get_weather","description":"Get weather for a city"}]}' form: {} headers: Accept: - application/json Anthropic-Version: - "2023-06-01" Content-Type: - application/json User-Agent: - Anthropic/Go 1.19.0 X-Api-Key: - fake-api-key-for-testing-only X-Stainless-Arch: - arm64 X-Stainless-Lang: - go X-Stainless-Os: - MacOS X-Stainless-Package-Version: - 1.19.0 X-Stainless-Retry-Count: - "0" X-Stainless-Runtime: - go X-Stainless-Runtime-Version: - go1.25.5 X-Stainless-Timeout: - "600" url: https://api.anthropic.com/v1/messages?beta=true method: POST response: body: '{"model":"claude-3-7-sonnet-20250219","id":"msg_018RyYEDtaKf3WyN2AVY7DVZ","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_019FKPTDNUQxrGzdjFtpP9Yp","name":"get_weather","input":{"city":"London"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":598,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":54,"service_tier":"standard"}}' headers: Anthropic-Organization-Id: - 4b663dca-f14e-490d-9965-801817fd453d Anthropic-Ratelimit-Input-Tokens-Limit: - "40000" Anthropic-Ratelimit-Input-Tokens-Remaining: - "40000" Anthropic-Ratelimit-Input-Tokens-Reset: - "2026-01-23T07:42:04Z" Anthropic-Ratelimit-Output-Tokens-Limit: - "16000" Anthropic-Ratelimit-Output-Tokens-Remaining: - "16000" Anthropic-Ratelimit-Output-Tokens-Reset: - "2026-01-23T07:42:04Z" Anthropic-Ratelimit-Requests-Limit: - "1000" Anthropic-Ratelimit-Requests-Remaining: - "999" Anthropic-Ratelimit-Requests-Reset: - "2026-01-23T07:42:03Z" Anthropic-Ratelimit-Tokens-Limit: - "56000" Anthropic-Ratelimit-Tokens-Remaining: - "56000" Anthropic-Ratelimit-Tokens-Reset: - "2026-01-23T07:42:04Z" Cf-Cache-Status: - DYNAMIC Cf-Ray: - 9c25a6f52a45a143-LAX Content-Type: - application/json Date: - Fri, 23 Jan 2026 07:42:04 GMT Request-Id: - req_011CXPw5t2fvWR46n9QUQ9Qm Server: - cloudflare Strict-Transport-Security: - max-age=31536000; includeSubDomains; preload X-Envoy-Upstream-Service-Time: - "945" X-Robots-Tag: - none status: 200 OK code: 200 duration: "" - request: body: '{"max_tokens":512,"messages":[{"content":[{"text":"What''s the weather in San Francisco, New York, and London? Check all three cities at once.","type":"text"}],"role":"user"},{"content":[{"text":"I''d be happy to check the weather for San Francisco, New York, and London for you. I''ll need to look up each city individually.","type":"text"},{"id":"toolu_019dfQh1VSo4ykF3MUFvGpMg","input":{"city":"San Francisco"},"name":"get_weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_019dfQh1VSo4ykF3MUFvGpMg","content":[{"text":"Weather in San Francisco: Sunny 72°F","type":"text"}],"type":"tool_result"}],"role":"user"},{"content":[{"id":"toolu_015Sh8xNQBhJJnBCLz8x9F6f","input":{"city":"New York"},"name":"get_weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_015Sh8xNQBhJJnBCLz8x9F6f","content":[{"text":"Weather in New York: Sunny 72°F","type":"text"}],"type":"tool_result"}],"role":"user"},{"content":[{"id":"toolu_019FKPTDNUQxrGzdjFtpP9Yp","input":{"city":"London"},"name":"get_weather","type":"tool_use"}],"role":"assistant"},{"content":[{"tool_use_id":"toolu_019FKPTDNUQxrGzdjFtpP9Yp","content":[{"text":"Weather in London: Sunny 72°F","type":"text"}],"type":"tool_result"}],"role":"user"}],"model":"claude-3-7-sonnet-latest","tools":[{"input_schema":{"properties":{"city":{"type":"string"},"units":{"enum":["celsius","fahrenheit"],"type":"string"}},"required":["city"],"type":"object"},"name":"get_weather","description":"Get weather for a city"}]}' form: {} headers: Accept: - application/json Anthropic-Version: - "2023-06-01" Content-Type: - application/json User-Agent: - Anthropic/Go 1.19.0 X-Api-Key: - fake-api-key-for-testing-only X-Stainless-Arch: - arm64 X-Stainless-Lang: - go X-Stainless-Os: - MacOS X-Stainless-Package-Version: - 1.19.0 X-Stainless-Retry-Count: - "0" X-Stainless-Runtime: - go X-Stainless-Runtime-Version: - go1.25.5 X-Stainless-Timeout: - "600" url: https://api.anthropic.com/v1/messages?beta=true method: POST response: body: '{"model":"claude-3-7-sonnet-20250219","id":"msg_01U2itU4GfWtWJXqw43f4XB1","type":"message","role":"assistant","content":[{"type":"text","text":"Here''s the current weather for all three cities:\n\n- San Francisco: Sunny 72°F\n- New York: Sunny 72°F\n- London: Sunny 72°F\n\nWould you like me to check any other cities or get the weather in Celsius instead?"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":673,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":65,"service_tier":"standard"}}' headers: Anthropic-Organization-Id: - 4b663dca-f14e-490d-9965-801817fd453d Anthropic-Ratelimit-Input-Tokens-Limit: - "40000" Anthropic-Ratelimit-Input-Tokens-Remaining: - "40000" Anthropic-Ratelimit-Input-Tokens-Reset: - "2026-01-23T07:42:05Z" Anthropic-Ratelimit-Output-Tokens-Limit: - "16000" Anthropic-Ratelimit-Output-Tokens-Remaining: - "16000" Anthropic-Ratelimit-Output-Tokens-Reset: - "2026-01-23T07:42:05Z" Anthropic-Ratelimit-Requests-Limit: - "1000" Anthropic-Ratelimit-Requests-Remaining: - "999" Anthropic-Ratelimit-Requests-Reset: - "2026-01-23T07:42:04Z" Anthropic-Ratelimit-Tokens-Limit: - "56000" Anthropic-Ratelimit-Tokens-Remaining: - "56000" Anthropic-Ratelimit-Tokens-Reset: - "2026-01-23T07:42:05Z" Cf-Cache-Status: - DYNAMIC Cf-Ray: - 9c25a6fbfae2a143-LAX Content-Type: - application/json Date: - Fri, 23 Jan 2026 07:42:05 GMT Request-Id: - req_011CXPw5xhTv4tqQceCdq8iZ Server: - cloudflare Strict-Transport-Security: - max-age=31536000; includeSubDomains; preload X-Envoy-Upstream-Service-Time: - "1320" X-Robots-Tag: - none status: 200 OK code: 200 duration: ""