---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 489
    host: ""
    body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant","role":"system"},{"content":[{"text":"What''s the weather in Florence,Italy?","type":"input_text"}],"role":"user"}],"model":"gpt-4o-mini","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location","type":"function"}]}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - OpenAI/Go 2.3.0
    url: https://api.openai.com/v1/responses
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: |-
      {
        "id": "resp_010f0015da2b88280168f237ea6c18819e8ce2b72d44ac08b4",
        "object": "response",
        "created_at": 1760704490,
        "status": "completed",
        "background": false,
        "billing": {
          "payer": "developer"
        },
        "error": null,
        "incomplete_details": null,
        "instructions": null,
        "max_output_tokens": 4000,
        "max_tool_calls": null,
        "model": "gpt-4o-mini-2024-07-18",
        "output": [
          {
            "id": "fc_010f0015da2b88280168f237eb2b7c819eae6470cdee55da77",
            "type": "function_call",
            "status": "completed",
            "arguments": "{\"location\":\"Florence, Italy\"}",
            "call_id": "call_59vzLlFlML0RoHvlJxgWZZ7m",
            "name": "weather"
          }
        ],
        "parallel_tool_calls": true,
        "previous_response_id": null,
        "prompt_cache_key": null,
        "reasoning": {
          "effort": null,
          "summary": null
        },
        "safety_identifier": null,
        "service_tier": "default",
        "store": false,
        "temperature": 1.0,
        "text": {
          "format": {
            "type": "text"
          },
          "verbosity": "medium"
        },
        "tool_choice": "auto",
        "tools": [
          {
            "type": "function",
            "description": "Get weather information for a location",
            "name": "weather",
            "parameters": {
              "properties": {
                "location": {
                  "description": "the city",
                  "type": "string"
                }
              },
              "required": [
                "location"
              ],
              "type": "object"
            },
            "strict": false
          }
        ],
        "top_logprobs": 0,
        "top_p": 1.0,
        "truncation": "disabled",
        "usage": {
          "input_tokens": 58,
          "input_tokens_details": {
            "cached_tokens": 0
          },
          "output_tokens": 17,
          "output_tokens_details": {
            "reasoning_tokens": 0
          },
          "total_tokens": 75
        },
        "user": null,
        "metadata": {}
      }
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 1.0454615s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 724
    host: ""
    body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant","role":"system"},{"content":[{"text":"What''s the weather in Florence,Italy?","type":"input_text"}],"role":"user"},{"arguments":"\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"","call_id":"call_59vzLlFlML0RoHvlJxgWZZ7m","name":"weather","type":"function_call"},{"call_id":"call_59vzLlFlML0RoHvlJxgWZZ7m","output":"40 C","type":"function_call_output"}],"model":"gpt-4o-mini","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location","type":"function"}]}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - OpenAI/Go 2.3.0
    url: https://api.openai.com/v1/responses
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: |-
      {
        "id": "resp_0de529b5396cb7cc0168f237eb7d9c81a3aca3fef6a9749a5f",
        "object": "response",
        "created_at": 1760704491,
        "status": "completed",
        "background": false,
        "billing": {
          "payer": "developer"
        },
        "error": null,
        "incomplete_details": null,
        "instructions": null,
        "max_output_tokens": 4000,
        "max_tool_calls": null,
        "model": "gpt-4o-mini-2024-07-18",
        "output": [
          {
            "id": "msg_0de529b5396cb7cc0168f237ebf0ec81a39a23afc61ca30582",
            "type": "message",
            "status": "completed",
            "content": [
              {
                "type": "output_text",
                "annotations": [],
                "logprobs": [],
                "text": "The current temperature in Florence, Italy, is 40\u00b0C. If you need more details like humidity or forecast, just let me know!"
              }
            ],
            "role": "assistant"
          }
        ],
        "parallel_tool_calls": true,
        "previous_response_id": null,
        "prompt_cache_key": null,
        "reasoning": {
          "effort": null,
          "summary": null
        },
        "safety_identifier": null,
        "service_tier": "default",
        "store": false,
        "temperature": 1.0,
        "text": {
          "format": {
            "type": "text"
          },
          "verbosity": "medium"
        },
        "tool_choice": "auto",
        "tools": [
          {
            "type": "function",
            "description": "Get weather information for a location",
            "name": "weather",
            "parameters": {
              "properties": {
                "location": {
                  "description": "the city",
                  "type": "string"
                }
              },
              "required": [
                "location"
              ],
              "type": "object"
            },
            "strict": false
          }
        ],
        "top_logprobs": 0,
        "top_p": 1.0,
        "truncation": "disabled",
        "usage": {
          "input_tokens": 83,
          "input_tokens_details": {
            "cached_tokens": 0
          },
          "output_tokens": 30,
          "output_tokens_details": {
            "reasoning_tokens": 0
          },
          "total_tokens": 113
        },
        "user": null,
        "metadata": {}
      }
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 1.421569667s
