---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 494
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"}],"model":"openai/gpt-5","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"usage":{"include":true},"reasoning":{"effort":"medium"}}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - OpenAI/Go 2.7.1
    url: https://openrouter.ai/api/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: "\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n{\"id\":\"gen-1773324215-D7lh5CAt7ZjqsjO9zT2D\",\"object\":\"chat.completion\",\"created\":1773324215,\"model\":\"openai/gpt-5-2025-08-07\",\"provider\":\"OpenAI\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"logprobs\":null,\"finish_reason\":\"tool_calls\",\"native_finish_reason\":\"completed\",\"message\":{\"role\":\"assistant\",\"content\":null,\"refusal\":null,\"reasoning\":\"**Checking Florence's weather**\\n\\nI need to find out the weather in Florence, Italy. I have a tool called \\\"functions.weather\\\" to help with that. Since we only need one tool, I won't use the multi_tool_use.parallel wrapper. I'll call functions.weather with the location specified as \\\"Florence, Italy.\\\" The tool should return the weather data, so I need to access it through the commentary channel. Alright, let's get that information!\",\"tool_calls\":[{\"type\":\"function\",\"index\":0,\"id\":\"call_vYXwqorxYJ1SpkxBfbomGrs4\",\"function\":{\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"}}],\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Checking Florence's weather**\\n\\nI need to find out the weather in Florence, Italy. I have a tool called \\\"functions.weather\\\" to help with that. Since we only need one tool, I won't use the multi_tool_use.parallel wrapper. I'll call functions.weather with the location specified as \\\"Florence, Italy.\\\" The tool should return the weather data, so I need to access it through the commentary channel. Alright, let's get that information!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",\"data\":\"gAAAAABpsse-I3DUazhapsT1MmHUYmjPW-feTxEb00nSJjtoH6gV_VS280fGY9VT2yKknwM0Aa2ypjI7rDew9B-o9fhwfpv2LHVD1l0pCh0Nqny-HFbOXLxMlaPXw48ysjMFkVDLXaQvCeMDt02gflkSwIubMS2PVTY3KtZ-YAlIKX133lav5jemWVmD006JPf4CV9931bdvsBIcpub27Zc79CYvbW81DweY0dNn6Zy0PqJRgOXN4RLSFgGOrTCiOuYUVzfPA49Q0SFILvkoJ8-1ZtTn0I3Spe_pMtED_VItwTdlSnVF28EgCMZafLs_EiROECRI76moLdURNk3cc5XM6Fk22OI3LHy5G9zO-VGcfVZiXDfRpJvUdYlGINdxzd3Yo0qhMY6r48luUM_WC8NY5qdV5MSuaZ5QkMHPQYj10Tdm4PTA85CHUeI4vVSkF_gMPI98ABGoq-YFlGN1KMzfHGpW-o_wn6GdXhmUUYOAUMcYHlgCh7vaQRbfShnm8YYOkPWkqON8NOOoC-JI7n_FgnK4Kz4F56bECUzS3nal1QoERK96ByoOR9mqVW21hauzeZhIUrpykI1hTaZiquWP0nacuDmW9n8CNboNQvrzCqclcKygMHL1St_kGGKMlnp72i6YBw-LFzYLNPwYT6Cr-Ru7wVSdL-UYN-hyqoPiRAqGzla4sLrWvn7bFv5g_GjgkAleHZzdwbLt9_1ICyOYMJVFTrfXJqjXU1XMnAhLU0Qn2nYRKy47M-R7HQoW51lmt4-_IdY_HQ7VISDpfWzCAYyyn-MuRoGhbJ2C8rSc1O07NXwYddFlTqwO8DKyMutCk7hkoMEUeSmnbIszN3oZfwxK-x9DKH7YX_0a_dBbe_WqlA9yJGLD19u78AGYoZ_NMSiGIp3O2Ihtc_FtVQkKuLU70aAP2OhuFtx3uLnBqEzw1ipzCwwyObD-Z3Ts1POtSveNfdNaLtzTLlgvO6DzoXqjIKdacwhDXpbmfDIFIufhwA5qRj7eMLg3VDx5QNW23aXe7_1YMcu_sVZOA2BZzvSkp2wfpKf7UzeBx8TWSav5PwO6HYEPsV61kxuUT6XJLpagFN6sRXYdtCVtu-Q3oBm4mWNv4-c1VsctE_AK21RLjtxZV70AXDbK-iS6-hr-1dgSKUYATofXRr4bbeKvev5CTirDgA4g593QzP0q0cGZbqClPzfRRF-cl82u4MAP7jWyeKaJ4B9NtIhYPSZxkhH0kUhak3iM6c-39LWApJu_Cj_NOvzBHSSgZj15tlX5WOR66gzOQgGWH4ODiBqr43miy6pyvm4nhKxJd1N7xtnT4kEXVEjdMz8RsP-fgyIcXC4wM8j7XojsChYI53pkUUzG8NbbdNw1yk0z41hY9dzaV8yyFaXhR8KjDsuY7MCzSDOX8KDdcUwQKU48jPAb6etYgKV9XBTgiIadnvdqLGDcA2Y_cTvE-c5-1uuX5tadJO0BB0-2cbqZxmHoaOLBVXlujTkzh5H1f98nhLf0XmDK5Qaps_OcpzOcGCkDfPjSwZ3_LrlnI2G3Mi6m9el54mKujXcSC-oVk0V2KB7H9U60xX1JiXFxDhw3xR6B0W_okMFkI-pbsTkLKOZVU_F6oFxpl9Q5cQCUebRYziAfj27FN_tpT_I=\",\"format\":\"openai-responses-v1\",\"id\":\"rs_0caf9667a75d08220169b2c7b86c9881969d898ea9b7780716\",\"index\":1}]}}],\"usage\":{\"prompt_tokens\":63,\"completion_tokens\":148,\"total_tokens\":211,\"cost\":0.00155875,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"cache_write_tokens\":0,\"audio_tokens\":0,\"video_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":0.00155875,\"upstream_inference_prompt_cost\":0.00007875,\"upstream_inference_completions_cost\":0.00148},\"completion_tokens_details\":{\"reasoning_tokens\":64,\"image_tokens\":0,\"audio_tokens\":0}}}"
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 555.081ms
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 2567
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence, Italy?","role":"user"},{"tool_calls":[{"id":"call_vYXwqorxYJ1SpkxBfbomGrs4","function":{"arguments":"{\"location\":\"Florence, Italy\"}","name":"weather"},"type":"function"}],"role":"assistant","reasoning_details":[{"data":"gAAAAABpsse-I3DUazhapsT1MmHUYmjPW-feTxEb00nSJjtoH6gV_VS280fGY9VT2yKknwM0Aa2ypjI7rDew9B-o9fhwfpv2LHVD1l0pCh0Nqny-HFbOXLxMlaPXw48ysjMFkVDLXaQvCeMDt02gflkSwIubMS2PVTY3KtZ-YAlIKX133lav5jemWVmD006JPf4CV9931bdvsBIcpub27Zc79CYvbW81DweY0dNn6Zy0PqJRgOXN4RLSFgGOrTCiOuYUVzfPA49Q0SFILvkoJ8-1ZtTn0I3Spe_pMtED_VItwTdlSnVF28EgCMZafLs_EiROECRI76moLdURNk3cc5XM6Fk22OI3LHy5G9zO-VGcfVZiXDfRpJvUdYlGINdxzd3Yo0qhMY6r48luUM_WC8NY5qdV5MSuaZ5QkMHPQYj10Tdm4PTA85CHUeI4vVSkF_gMPI98ABGoq-YFlGN1KMzfHGpW-o_wn6GdXhmUUYOAUMcYHlgCh7vaQRbfShnm8YYOkPWkqON8NOOoC-JI7n_FgnK4Kz4F56bECUzS3nal1QoERK96ByoOR9mqVW21hauzeZhIUrpykI1hTaZiquWP0nacuDmW9n8CNboNQvrzCqclcKygMHL1St_kGGKMlnp72i6YBw-LFzYLNPwYT6Cr-Ru7wVSdL-UYN-hyqoPiRAqGzla4sLrWvn7bFv5g_GjgkAleHZzdwbLt9_1ICyOYMJVFTrfXJqjXU1XMnAhLU0Qn2nYRKy47M-R7HQoW51lmt4-_IdY_HQ7VISDpfWzCAYyyn-MuRoGhbJ2C8rSc1O07NXwYddFlTqwO8DKyMutCk7hkoMEUeSmnbIszN3oZfwxK-x9DKH7YX_0a_dBbe_WqlA9yJGLD19u78AGYoZ_NMSiGIp3O2Ihtc_FtVQkKuLU70aAP2OhuFtx3uLnBqEzw1ipzCwwyObD-Z3Ts1POtSveNfdNaLtzTLlgvO6DzoXqjIKdacwhDXpbmfDIFIufhwA5qRj7eMLg3VDx5QNW23aXe7_1YMcu_sVZOA2BZzvSkp2wfpKf7UzeBx8TWSav5PwO6HYEPsV61kxuUT6XJLpagFN6sRXYdtCVtu-Q3oBm4mWNv4-c1VsctE_AK21RLjtxZV70AXDbK-iS6-hr-1dgSKUYATofXRr4bbeKvev5CTirDgA4g593QzP0q0cGZbqClPzfRRF-cl82u4MAP7jWyeKaJ4B9NtIhYPSZxkhH0kUhak3iM6c-39LWApJu_Cj_NOvzBHSSgZj15tlX5WOR66gzOQgGWH4ODiBqr43miy6pyvm4nhKxJd1N7xtnT4kEXVEjdMz8RsP-fgyIcXC4wM8j7XojsChYI53pkUUzG8NbbdNw1yk0z41hY9dzaV8yyFaXhR8KjDsuY7MCzSDOX8KDdcUwQKU48jPAb6etYgKV9XBTgiIadnvdqLGDcA2Y_cTvE-c5-1uuX5tadJO0BB0-2cbqZxmHoaOLBVXlujTkzh5H1f98nhLf0XmDK5Qaps_OcpzOcGCkDfPjSwZ3_LrlnI2G3Mi6m9el54mKujXcSC-oVk0V2KB7H9U60xX1JiXFxDhw3xR6B0W_okMFkI-pbsTkLKOZVU_F6oFxpl9Q5cQCUebRYziAfj27FN_tpT_I=","format":"openai-responses-v1","id":"rs_0caf9667a75d08220169b2c7b86c9881969d898ea9b7780716","index":0,"type":"reasoning.encrypted"}]},{"content":"40 C","tool_call_id":"call_vYXwqorxYJ1SpkxBfbomGrs4","role":"tool"}],"model":"openai/gpt-5","tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}],"reasoning":{"effort":"medium"},"usage":{"include":true}}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - OpenAI/Go 2.7.1
    url: https://openrouter.ai/api/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: "\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n\n         \n{\"id\":\"gen-1773324223-JDEFwUnlS1HuYBH5OHWH\",\"object\":\"chat.completion\",\"created\":1773324223,\"model\":\"openai/gpt-5-2025-08-07\",\"provider\":\"OpenAI\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"logprobs\":null,\"finish_reason\":\"stop\",\"native_finish_reason\":\"completed\",\"message\":{\"role\":\"assistant\",\"content\":\"It’s currently about 40°C (104°F) in Florence, Italy.\",\"refusal\":null,\"reasoning\":\"**Presenting weather data**\\n\\nThe tool returned \\\"40 C,\\\" which is a bit strange since it only gives temperature. The user asked for the weather in Florence, Italy, so we should report that.\\n\\nI'll state: \\\"The current temperature in Florence is 40°C.\\\" It’s also helpful to convert that to Fahrenheit, which comes out to about 104°F. I’ll keep the response concise and straightforward, adding that if the user wants more details, they can ask for those follow-ups!\",\"reasoning_details\":[{\"type\":\"reasoning.summary\",\"summary\":\"**Presenting weather data**\\n\\nThe tool returned \\\"40 C,\\\" which is a bit strange since it only gives temperature. The user asked for the weather in Florence, Italy, so we should report that.\\n\\nI'll state: \\\"The current temperature in Florence is 40°C.\\\" It’s also helpful to convert that to Fahrenheit, which comes out to about 104°F. I’ll keep the response concise and straightforward, adding that if the user wants more details, they can ask for those follow-ups!\",\"format\":\"openai-responses-v1\",\"index\":0},{\"type\":\"reasoning.encrypted\",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"prompt_tokens\":220,\"completion_tokens\":231,\"total_tokens\":451,\"cost\":0.002585,\"is_byok\":false,\"prompt_tokens_details\":{\"cached_tokens\":0,\"cache_write_tokens\":0,\"audio_tokens\":0,\"video_tokens\":0},\"cost_details\":{\"upstream_inference_cost\":0.002585,\"upstream_inference_prompt_cost\":0.000275,\"upstream_inference_completions_cost\":0.00231},\"completion_tokens_details\":{\"reasoning_tokens\":192,\"image_tokens\":0,\"audio_tokens\":0}}}"
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 416.259041ms
