when:
  path: /v1/responses
  method: POST
  query_param: []
  header:
  - name: accept
    value: text/event-stream
  - name: content-type
    value: application/json
  body: '{"input":[{"content":"You are a weather assistant. You have access to a get_weather tool. You must call the get_weather tool for any weather question and never guess weather data. After receiving the tool result, provide a concise summary of the weather.","role":"system","type":"message"},{"content":"I''m planning a trip. What is the current weather in Tokyo, Japan? Based on the weather conditions, should I pack an umbrella or sunscreen? Use the get_weather tool to check before answering.","role":"user","type":"message"}],"max_output_tokens":4096,"model":"grok-3-mini","stream":true,"tools":[{"description":"Get the current weather for a city. Must be called for weather questions.","name":"get_weather","parameters":{"properties":{"city":{"description":"City name to get weather for","type":"string"}},"required":["city"],"type":"object"},"type":"function"}]}'
then:
  status: 200
  header:
  - name: content-type
    value: text/event-stream
  body: |+
    event: response.created
    data: {"response":{"background":false,"completed_at":null,"created_at":0,"error":null,"frequency_penalty":0.0,"id":"resp_REDACTED_1","incomplete_details":null,"instructions":null,"max_output_tokens":4096,"max_tool_calls":null,"metadata":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","status":"in_progress","store":true,"temperature":0.699999988079071,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[{"description":"Get the current weather for a city. Must be called for weather questions.","name":"get_weather","parameters":{"properties":{"city":{"description":"City name to get weather for","type":"string"}},"required":["city"],"type":"object"},"strict":null,"type":"function"}],"top_logprobs":0,"top_p":0.949999988079071,"truncation":"disabled","usage":null,"user":null},"sequence_number":0,"type":"response.created"}

    event: response.in_progress
    data: {"response":{"background":false,"completed_at":null,"created_at":0,"error":null,"frequency_penalty":0.0,"id":"resp_REDACTED_1","incomplete_details":null,"instructions":null,"max_output_tokens":4096,"max_tool_calls":null,"metadata":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","status":"in_progress","store":true,"temperature":0.699999988079071,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[{"description":"Get the current weather for a city. Must be called for weather questions.","name":"get_weather","parameters":{"properties":{"city":{"description":"City name to get weather for","type":"string"}},"required":["city"],"type":"object"},"strict":null,"type":"function"}],"top_logprobs":0,"top_p":0.949999988079071,"truncation":"disabled","usage":null,"user":null},"sequence_number":1,"type":"response.in_progress"}

    event: response.output_item.added
    data: {"item":{"id":"rs_REDACTED_1","status":"in_progress","summary":[],"type":"reasoning"},"output_index":0,"sequence_number":2,"type":"response.output_item.added"}

    event: response.reasoning_summary_part.added
    data: {"item_id":"rs_REDACTED_1","output_index":0,"part":{"text":"","type":"summary_text"},"sequence_number":3,"summary_index":0,"type":"response.reasoning_summary_part.added"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"The","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":4,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" question","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":5,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" is","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":6,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":":","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":7,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" \"","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":8,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"I'm","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":9,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" planning","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":10,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" a","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":11,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" trip","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":12,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":".","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":13,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" What","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":14,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" is","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":15,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" the","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":16,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" current","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":17,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" weather","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":18,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" in","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":19,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" Tokyo","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":20,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":",","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":21,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" Japan","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":22,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"?","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":23,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" Based","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":24,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" on","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":25,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" the","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":26,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" weather","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":27,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" conditions","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":28,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":",","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":29,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" should","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":30,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" I","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":31,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" pack","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":32,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" an","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":33,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" umbrella","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":34,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" or","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":35,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" sunscreen","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":36,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"?","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":37,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" Use","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":38,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" the","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":39,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" get","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":40,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"_weather","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":41,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" tool","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":42,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" to","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":43,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" check","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":44,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" before","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":45,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" an...","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":46,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.done
    data: {"item_id":"rs_REDACTED_1","output_index":0,"sequence_number":47,"summary_index":0,"text":"The question is: \"I'm planning a trip. What is the current weather in Tokyo, Japan? Based on the weather conditions, should I pack an umbrella or sunscreen? Use the get_weather tool to check before an...","type":"response.reasoning_summary_text.done"}

    event: response.reasoning_summary_part.done
    data: {"item_id":"rs_REDACTED_1","output_index":0,"part":{"text":"The question is: \"I'm planning a trip. What is the current weather in Tokyo, Japan? Based on the weather conditions, should I pack an umbrella or sunscreen? Use the get_weather tool to check before an...","type":"summary_text"},"sequence_number":48,"summary_index":0,"type":"response.reasoning_summary_part.done"}

    event: response.output_item.done
    data: {"item":{"id":"rs_REDACTED_1","status":"completed","summary":[{"text":"The question is: \"I'm planning a trip. What is the current weather in Tokyo, Japan? Based on the weather conditions, should I pack an umbrella or sunscreen? Use the get_weather tool to check before an...","type":"summary_text"}],"type":"reasoning"},"output_index":0,"sequence_number":49,"type":"response.output_item.done"}

    event: response.output_item.added
    data: {"item":{"arguments":"","call_id":"call_REDACTED_1","id":"fc_REDACTED_1","name":"get_weather","status":"in_progress","type":"function_call"},"output_index":1,"sequence_number":50,"type":"response.output_item.added"}

    event: response.function_call_arguments.delta
    data: {"delta":"{\"city\":\"Tokyo\"}","item_id":"fc_REDACTED_1","output_index":1,"sequence_number":51,"type":"response.function_call_arguments.delta"}

    event: response.function_call_arguments.done
    data: {"arguments":"{\"city\":\"Tokyo\"}","item_id":"fc_REDACTED_1","output_index":1,"sequence_number":52,"type":"response.function_call_arguments.done"}

    event: response.output_item.done
    data: {"item":{"arguments":"{\"city\":\"Tokyo\"}","call_id":"call_REDACTED_1","id":"fc_REDACTED_1","name":"get_weather","status":"completed","type":"function_call"},"output_index":1,"sequence_number":53,"type":"response.output_item.done"}

    event: response.completed
    data: {"response":{"background":false,"completed_at":0,"created_at":0,"error":null,"frequency_penalty":0.0,"id":"resp_REDACTED_1","incomplete_details":null,"instructions":null,"max_output_tokens":4096,"max_tool_calls":null,"metadata":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[{"id":"rs_REDACTED_1","status":"completed","summary":[{"text":"The question is: \"I'm planning a trip. What is the current weather in Tokyo, Japan? Based on the weather conditions, should I pack an umbrella or sunscreen? Use the get_weather tool to check before an...","type":"summary_text"}],"type":"reasoning"},{"arguments":"{\"city\":\"Tokyo\"}","call_id":"call_REDACTED_1","id":"fc_REDACTED_1","name":"get_weather","status":"completed","type":"function_call"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","status":"completed","store":true,"temperature":0.699999988079071,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[{"description":"Get the current weather for a city. Must be called for weather questions.","name":"get_weather","parameters":{"properties":{"city":{"description":"City name to get weather for","type":"string"}},"required":["city"],"type":"object"},"strict":null,"type":"function"}],"top_logprobs":0,"top_p":0.949999988079071,"truncation":"disabled","usage":{"context_details":{"input_tokens":329,"output_tokens":160},"cost_in_usd_ticks":4752500,"input_tokens":329,"input_tokens_details":{"cached_tokens":320},"num_server_side_tools_used":0,"num_sources_used":0,"output_tokens":160,"output_tokens_details":{"reasoning_tokens":149},"total_tokens":489},"user":null},"sequence_number":54,"type":"response.completed"}

---
when:
  path: /v1/responses
  method: POST
  query_param: []
  header:
  - name: accept
    value: text/event-stream
  - name: content-type
    value: application/json
  body: '{"input":[{"content":"You are a weather assistant. You have access to a get_weather tool. You must call the get_weather tool for any weather question and never guess weather data. After receiving the tool result, provide a concise summary of the weather.","role":"system","type":"message"},{"content":"I''m planning a trip. What is the current weather in Tokyo, Japan? Based on the weather conditions, should I pack an umbrella or sunscreen? Use the get_weather tool to check before answering.","role":"user","type":"message"},{"id":"rs_REDACTED_1","summary":[{"text":"The question is: \"I''m planning a trip. What is the current weather in Tokyo, Japan? Based on the weather conditions, should I pack an umbrella or sunscreen? Use the get_weather tool to check before an...","type":"summary_text"}],"type":"reasoning"},{"arguments":"{\"city\":\"Tokyo\"}","call_id":"call_REDACTED_1","name":"get_weather","type":"function_call"},{"call_id":"call_REDACTED_1","output":"Weather in Tokyo: 72F (22C), sunny with light clouds, humidity 45%, wind 8 mph NW","type":"function_call_output"}],"max_output_tokens":4096,"model":"grok-3-mini","stream":true,"tools":[{"description":"Get the current weather for a city. Must be called for weather questions.","name":"get_weather","parameters":{"properties":{"city":{"description":"City name to get weather for","type":"string"}},"required":["city"],"type":"object"},"type":"function"}]}'
then:
  status: 200
  header:
  - name: content-type
    value: text/event-stream
  body: |+
    event: response.created
    data: {"response":{"background":false,"completed_at":null,"created_at":0,"error":null,"frequency_penalty":0.0,"id":"resp_REDACTED_2","incomplete_details":null,"instructions":null,"max_output_tokens":4096,"max_tool_calls":null,"metadata":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","status":"in_progress","store":true,"temperature":0.699999988079071,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[{"description":"Get the current weather for a city. Must be called for weather questions.","name":"get_weather","parameters":{"properties":{"city":{"description":"City name to get weather for","type":"string"}},"required":["city"],"type":"object"},"strict":null,"type":"function"}],"top_logprobs":0,"top_p":0.949999988079071,"truncation":"disabled","usage":null,"user":null},"sequence_number":0,"type":"response.created"}

    event: response.in_progress
    data: {"response":{"background":false,"completed_at":null,"created_at":0,"error":null,"frequency_penalty":0.0,"id":"resp_REDACTED_2","incomplete_details":null,"instructions":null,"max_output_tokens":4096,"max_tool_calls":null,"metadata":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","status":"in_progress","store":true,"temperature":0.699999988079071,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[{"description":"Get the current weather for a city. Must be called for weather questions.","name":"get_weather","parameters":{"properties":{"city":{"description":"City name to get weather for","type":"string"}},"required":["city"],"type":"object"},"strict":null,"type":"function"}],"top_logprobs":0,"top_p":0.949999988079071,"truncation":"disabled","usage":null,"user":null},"sequence_number":1,"type":"response.in_progress"}

    event: response.output_item.added
    data: {"item":{"id":"rs_REDACTED_2","status":"in_progress","summary":[],"type":"reasoning"},"output_index":0,"sequence_number":2,"type":"response.output_item.added"}

    event: response.reasoning_summary_part.added
    data: {"item_id":"rs_REDACTED_2","output_index":0,"part":{"text":"","type":"summary_text"},"sequence_number":3,"summary_index":0,"type":"response.reasoning_summary_part.added"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"The","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":4,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" tool","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":5,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" result","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":6,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" is","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":7,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":":","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":8,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" Weather","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":9,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" in","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":10,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" Tokyo","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":11,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":":","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":12,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" ","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":13,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"72","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":14,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"F","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":15,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" (","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":16,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"22","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":17,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"C","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":18,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"),","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":19,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" sunny","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":20,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" with","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":21,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" light","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":22,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" clouds","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":23,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":",","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":24,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" humidity","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":25,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" ","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":26,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"45","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":27,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"%,","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":28,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" wind","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":29,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" ","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":30,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"8","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":31,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" mph","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":32,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" NW","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":33,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":".\n","item_id":"rs_REDACTED_2","output_index":0,"sequence_number":34,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.done
    data: {"item_id":"rs_REDACTED_2","output_index":0,"sequence_number":35,"summary_index":0,"text":"The tool result is: Weather in Tokyo: 72F (22C), sunny with light clouds, humidity 45%, wind 8 mph NW.\n","type":"response.reasoning_summary_text.done"}

    event: response.reasoning_summary_part.done
    data: {"item_id":"rs_REDACTED_2","output_index":0,"part":{"text":"The tool result is: Weather in Tokyo: 72F (22C), sunny with light clouds, humidity 45%, wind 8 mph NW.\n","type":"summary_text"},"sequence_number":36,"summary_index":0,"type":"response.reasoning_summary_part.done"}

    event: response.output_item.done
    data: {"item":{"id":"rs_REDACTED_2","status":"completed","summary":[{"text":"The tool result is: Weather in Tokyo: 72F (22C), sunny with light clouds, humidity 45%, wind 8 mph NW.\n","type":"summary_text"}],"type":"reasoning"},"output_index":0,"sequence_number":37,"type":"response.output_item.done"}

    event: response.output_item.added
    data: {"item":{"content":[],"id":"msg_REDACTED_1","role":"assistant","status":"in_progress","type":"message"},"output_index":1,"sequence_number":38,"type":"response.output_item.added"}

    event: response.content_part.added
    data: {"content_index":0,"item_id":"msg_REDACTED_1","output_index":1,"part":{"annotations":[],"logprobs":[],"text":"","type":"output_text"},"sequence_number":39,"type":"response.content_part.added"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"Current","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":40,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" weather","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":41,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" in","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":42,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" Tokyo","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":43,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":":","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":44,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" ","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":45,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"72","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":46,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"°F","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":47,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" (","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":48,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"22","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":49,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"°C","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":50,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"),","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":51,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" sunny","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":52,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" with","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":53,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" light","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":54,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" clouds","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":55,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":",","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":56,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" ","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":57,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"45","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":58,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"%","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":59,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" humidity","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":60,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":",","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":61,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" wind","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":62,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" ","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":63,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"8","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":64,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" mph","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":65,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" NW","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":66,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":".","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":67,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" Pack","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":68,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" sunscreen","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":69,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" (","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":70,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"not","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":71,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" an","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":72,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" umbrella","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":73,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":").","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":74,"type":"response.output_text.delta"}

    event: response.output_text.done
    data: {"content_index":0,"item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":75,"text":"Current weather in Tokyo: 72°F (22°C), sunny with light clouds, 45% humidity, wind 8 mph NW. Pack sunscreen (not an umbrella).","type":"response.output_text.done"}

    event: response.content_part.done
    data: {"content_index":0,"item_id":"msg_REDACTED_1","output_index":1,"part":{"annotations":[],"logprobs":[],"text":"Current weather in Tokyo: 72°F (22°C), sunny with light clouds, 45% humidity, wind 8 mph NW. Pack sunscreen (not an umbrella).","type":"output_text"},"sequence_number":76,"type":"response.content_part.done"}

    event: response.output_item.done
    data: {"item":{"content":[{"annotations":[],"logprobs":[],"text":"Current weather in Tokyo: 72°F (22°C), sunny with light clouds, 45% humidity, wind 8 mph NW. Pack sunscreen (not an umbrella).","type":"output_text"}],"id":"msg_REDACTED_1","role":"assistant","status":"completed","type":"message"},"output_index":1,"sequence_number":77,"type":"response.output_item.done"}

    event: response.completed
    data: {"response":{"background":false,"completed_at":0,"created_at":0,"error":null,"frequency_penalty":0.0,"id":"resp_REDACTED_2","incomplete_details":null,"instructions":null,"max_output_tokens":4096,"max_tool_calls":null,"metadata":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[{"id":"rs_REDACTED_2","status":"completed","summary":[{"text":"The tool result is: Weather in Tokyo: 72F (22C), sunny with light clouds, humidity 45%, wind 8 mph NW.\n","type":"summary_text"}],"type":"reasoning"},{"content":[{"annotations":[],"logprobs":[],"text":"Current weather in Tokyo: 72°F (22°C), sunny with light clouds, 45% humidity, wind 8 mph NW. Pack sunscreen (not an umbrella).","type":"output_text"}],"id":"msg_REDACTED_1","role":"assistant","status":"completed","type":"message"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","status":"completed","store":true,"temperature":0.699999988079071,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[{"description":"Get the current weather for a city. Must be called for weather questions.","name":"get_weather","parameters":{"properties":{"city":{"description":"City name to get weather for","type":"string"}},"required":["city"],"type":"object"},"strict":null,"type":"function"}],"top_logprobs":0,"top_p":0.949999988079071,"truncation":"disabled","usage":{"context_details":{"input_tokens":521,"output_tokens":110},"cost_in_usd_ticks":5902500,"input_tokens":521,"input_tokens_details":{"cached_tokens":320},"num_server_side_tools_used":0,"num_sources_used":0,"output_tokens":110,"output_tokens_details":{"reasoning_tokens":75},"total_tokens":631},"user":null},"sequence_number":78,"type":"response.completed"}

