--- version: 1 interactions: - request: body: '{"max_tokens":512,"messages":[{"content":[{"text":"Call the slow_tool with input ''test''","type":"text"}],"role":"user"}],"model":"claude-3-7-sonnet-latest","tools":[{"input_schema":{"properties":{"input":{"type":"string"}},"type":"object"},"name":"slow_tool","description":"A slow tool"}]}' 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_0142PtqubSsNMQyL4EiyyEs6","type":"message","role":"assistant","content":[{"type":"text","text":"I can help you call the slow_tool with the input ''test''. I''ll use the function call now:"},{"type":"tool_use","id":"toolu_01CbQoxtE6Qg5V9pW5SX66i5","name":"slow_tool","input":{"input":"test"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":376,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":78,"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:01Z" Anthropic-Ratelimit-Output-Tokens-Limit: - "16000" Anthropic-Ratelimit-Output-Tokens-Remaining: - "16000" Anthropic-Ratelimit-Output-Tokens-Reset: - "2026-01-23T07:42:01Z" Anthropic-Ratelimit-Requests-Limit: - "1000" Anthropic-Ratelimit-Requests-Remaining: - "999" Anthropic-Ratelimit-Requests-Reset: - "2026-01-23T07:42:00Z" Anthropic-Ratelimit-Tokens-Limit: - "56000" Anthropic-Ratelimit-Tokens-Remaining: - "56000" Anthropic-Ratelimit-Tokens-Reset: - "2026-01-23T07:42:01Z" Cf-Cache-Status: - DYNAMIC Cf-Ray: - 9c25a6e2df5ca143-LAX Content-Type: - application/json Date: - Fri, 23 Jan 2026 07:42:01 GMT Request-Id: - req_011CXPw5fUcysxR74k3PTTtN Server: - cloudflare Strict-Transport-Security: - max-age=31536000; includeSubDomains; preload X-Envoy-Upstream-Service-Time: - "1425" X-Robots-Tag: - none status: 200 OK code: 200 duration: ""