---
version: 2
interactions:
  - id: 0
    request:
        proto: HTTP/1.1
        proto_major: 1
        proto_minor: 1
        content_length: 821
        host: ""
        body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}'
        headers:
            Accept:
              - application/json
            Content-Type:
              - application/json
            User-Agent:
              - OpenAI/Go 2.3.0
        url: https://api.openai.com/v1/chat/completions
        method: POST
    response:
        proto: HTTP/2.0
        proto_major: 2
        proto_minor: 0
        content_length: -1
        uncompressed: true
        body: |
            {
              "id": "chatcmpl-CJHNWTrpQnOjtZob48FeSHWZTT8J8",
              "object": "chat.completion",
              "created": 1758711070,
              "model": "gpt-5-2025-08-07",
              "choices": [
                {
                  "index": 0,
                  "message": {
                    "role": "assistant",
                    "content": null,
                    "tool_calls": [
                      {
                        "id": "call_ucYrrss6ETc3YnQdA7grAXuZ",
                        "type": "function",
                        "function": {
                          "name": "add",
                          "arguments": "{\"a\": 2, \"b\": 3}"
                        }
                      },
                      {
                        "id": "call_KZuPmn3DhLp34eU3WPV6d2BC",
                        "type": "function",
                        "function": {
                          "name": "multiply",
                          "arguments": "{\"a\": 2, \"b\": 3}"
                        }
                      }
                    ],
                    "refusal": null,
                    "annotations": []
                  },
                  "finish_reason": "tool_calls"
                }
              ],
              "usage": {
                "prompt_tokens": 194,
                "completion_tokens": 251,
                "total_tokens": 445,
                "prompt_tokens_details": {
                  "cached_tokens": 0,
                  "audio_tokens": 0
                },
                "completion_tokens_details": {
                  "reasoning_tokens": 192,
                  "audio_tokens": 0,
                  "accepted_prediction_tokens": 0,
                  "rejected_prediction_tokens": 0
                }
              },
              "service_tier": "default",
              "system_fingerprint": null
            }
        headers:
            Content-Type:
              - application/json
        status: 200 OK
        code: 200
        duration: 3.828985s
  - id: 1
    request:
        proto: HTTP/1.1
        proto_major: 1
        proto_minor: 1
        content_length: 1252
        host: ""
        body: '{"messages":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"tool_calls":[{"id":"call_ucYrrss6ETc3YnQdA7grAXuZ","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"add"},"type":"function"},{"id":"call_KZuPmn3DhLp34eU3WPV6d2BC","function":{"arguments":"{\"a\": 2, \"b\": 3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"call_ucYrrss6ETc3YnQdA7grAXuZ","role":"tool"},{"content":"6","tool_call_id":"call_KZuPmn3DhLp34eU3WPV6d2BC","role":"tool"}],"model":"gpt-5","max_completion_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}]}'
        headers:
            Accept:
              - application/json
            Content-Type:
              - application/json
            User-Agent:
              - OpenAI/Go 2.3.0
        url: https://api.openai.com/v1/chat/completions
        method: POST
    response:
        proto: HTTP/2.0
        proto_major: 2
        proto_minor: 0
        content_length: -1
        uncompressed: true
        body: |
            {
              "id": "chatcmpl-CJHNZ3DVA5PqYx0mpBu7rQS8mVlXI",
              "object": "chat.completion",
              "created": 1758711073,
              "model": "gpt-5-2025-08-07",
              "choices": [
                {
                  "index": 0,
                  "message": {
                    "role": "assistant",
                    "content": "Results:\n- Addition: 2 + 3 = 5\n- Multiplication: 2 × 3 = 6",
                    "refusal": null,
                    "annotations": []
                  },
                  "finish_reason": "stop"
                }
              ],
              "usage": {
                "prompt_tokens": 266,
                "completion_tokens": 29,
                "total_tokens": 295,
                "prompt_tokens_details": {
                  "cached_tokens": 0,
                  "audio_tokens": 0
                },
                "completion_tokens_details": {
                  "reasoning_tokens": 0,
                  "audio_tokens": 0,
                  "accepted_prediction_tokens": 0,
                  "rejected_prediction_tokens": 0
                }
              },
              "service_tier": "default",
              "system_fingerprint": null
            }
        headers:
            Content-Type:
              - application/json
        status: 200 OK
        code: 200
        duration: 1.842280167s
