1---
2version: 2
3interactions:
4- id: 0
5 request:
6 proto: HTTP/1.1
7 proto_major: 1
8 proto_minor: 1
9 content_length: 836
10 host: ""
11 body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"developer"},{"content":[{"text":"Add and multiply the number 2 and 3","type":"input_text"}],"role":"user"}],"model":"gpt-5","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers","type":"function"},{"strict":false,"parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers","type":"function"}]}'
12 headers:
13 Accept:
14 - application/json
15 Content-Type:
16 - application/json
17 User-Agent:
18 - OpenAI/Go 2.3.0
19 url: https://api.openai.com/v1/responses
20 method: POST
21 response:
22 proto: HTTP/2.0
23 proto_major: 2
24 proto_minor: 0
25 content_length: -1
26 uncompressed: true
27 body: |-
28 {
29 "id": "resp_0a67406c0312cd3d0168f23808e21081a19469bdae7c79e9a1",
30 "object": "response",
31 "created_at": 1760704520,
32 "status": "completed",
33 "background": false,
34 "billing": {
35 "payer": "developer"
36 },
37 "error": null,
38 "incomplete_details": null,
39 "instructions": null,
40 "max_output_tokens": 4000,
41 "max_tool_calls": null,
42 "model": "gpt-5-2025-08-07",
43 "output": [
44 {
45 "id": "rs_0a67406c0312cd3d0168f238093ecc81a1bdba7329dca10274",
46 "type": "reasoning",
47 "summary": []
48 },
49 {
50 "id": "fc_0a67406c0312cd3d0168f2380c363c81a185a8cb8507231fa5",
51 "type": "function_call",
52 "status": "completed",
53 "arguments": "{\"a\":2,\"b\":3}",
54 "call_id": "call_4zp4utiXe14bjLO4jtMZEjT9",
55 "name": "add"
56 },
57 {
58 "id": "fc_0a67406c0312cd3d0168f2380c544081a18909136702882f58",
59 "type": "function_call",
60 "status": "completed",
61 "arguments": "{\"a\":2,\"b\":3}",
62 "call_id": "call_4RkbJhNCkvdVClgNEsmTa3lb",
63 "name": "multiply"
64 }
65 ],
66 "parallel_tool_calls": true,
67 "previous_response_id": null,
68 "prompt_cache_key": null,
69 "reasoning": {
70 "effort": "medium",
71 "summary": null
72 },
73 "safety_identifier": null,
74 "service_tier": "default",
75 "store": false,
76 "temperature": 1.0,
77 "text": {
78 "format": {
79 "type": "text"
80 },
81 "verbosity": "medium"
82 },
83 "tool_choice": "auto",
84 "tools": [
85 {
86 "type": "function",
87 "description": "Add two numbers",
88 "name": "add",
89 "parameters": {
90 "properties": {
91 "a": {
92 "description": "first number",
93 "type": "integer"
94 },
95 "b": {
96 "description": "second number",
97 "type": "integer"
98 }
99 },
100 "required": [
101 "a",
102 "b"
103 ],
104 "type": "object"
105 },
106 "strict": false
107 },
108 {
109 "type": "function",
110 "description": "Multiply two numbers",
111 "name": "multiply",
112 "parameters": {
113 "properties": {
114 "a": {
115 "description": "first number",
116 "type": "integer"
117 },
118 "b": {
119 "description": "second number",
120 "type": "integer"
121 }
122 },
123 "required": [
124 "a",
125 "b"
126 ],
127 "type": "object"
128 },
129 "strict": false
130 }
131 ],
132 "top_logprobs": 0,
133 "top_p": 1.0,
134 "truncation": "disabled",
135 "usage": {
136 "input_tokens": 58,
137 "input_tokens_details": {
138 "cached_tokens": 0
139 },
140 "output_tokens": 248,
141 "output_tokens_details": {
142 "reasoning_tokens": 192
143 },
144 "total_tokens": 306
145 },
146 "user": null,
147 "metadata": {}
148 }
149 headers:
150 Content-Type:
151 - application/json
152 status: 200 OK
153 code: 200
154 duration: 3.821118208s
155- id: 1
156 request:
157 proto: HTTP/1.1
158 proto_major: 1
159 proto_minor: 1
160 content_length: 1263
161 host: ""
162 body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"developer"},{"content":[{"text":"Add and multiply the number 2 and 3","type":"input_text"}],"role":"user"},{"arguments":"\"{\\\"a\\\":2,\\\"b\\\":3}\"","call_id":"call_4zp4utiXe14bjLO4jtMZEjT9","name":"add","type":"function_call"},{"arguments":"\"{\\\"a\\\":2,\\\"b\\\":3}\"","call_id":"call_4RkbJhNCkvdVClgNEsmTa3lb","name":"multiply","type":"function_call"},{"call_id":"call_4zp4utiXe14bjLO4jtMZEjT9","output":"5","type":"function_call_output"},{"call_id":"call_4RkbJhNCkvdVClgNEsmTa3lb","output":"6","type":"function_call_output"}],"model":"gpt-5","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers","type":"function"},{"strict":false,"parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers","type":"function"}]}'
163 headers:
164 Accept:
165 - application/json
166 Content-Type:
167 - application/json
168 User-Agent:
169 - OpenAI/Go 2.3.0
170 url: https://api.openai.com/v1/responses
171 method: POST
172 response:
173 proto: HTTP/2.0
174 proto_major: 2
175 proto_minor: 0
176 content_length: -1
177 uncompressed: true
178 body: |-
179 {
180 "id": "resp_02b2a4b073ba53220168f2380cb3a48190926547554955da24",
181 "object": "response",
182 "created_at": 1760704524,
183 "status": "completed",
184 "background": false,
185 "billing": {
186 "payer": "developer"
187 },
188 "error": null,
189 "incomplete_details": null,
190 "instructions": null,
191 "max_output_tokens": 4000,
192 "max_tool_calls": null,
193 "model": "gpt-5-2025-08-07",
194 "output": [
195 {
196 "id": "msg_02b2a4b073ba53220168f2380d87508190bfa30618f00b704e",
197 "type": "message",
198 "status": "completed",
199 "content": [
200 {
201 "type": "output_text",
202 "annotations": [],
203 "logprobs": [],
204 "text": "Results for the numbers 2 and 3:\n- Addition: 5\n- Multiplication: 6"
205 }
206 ],
207 "role": "assistant"
208 }
209 ],
210 "parallel_tool_calls": true,
211 "previous_response_id": null,
212 "prompt_cache_key": null,
213 "reasoning": {
214 "effort": "medium",
215 "summary": null
216 },
217 "safety_identifier": null,
218 "service_tier": "default",
219 "store": false,
220 "temperature": 1.0,
221 "text": {
222 "format": {
223 "type": "text"
224 },
225 "verbosity": "medium"
226 },
227 "tool_choice": "auto",
228 "tools": [
229 {
230 "type": "function",
231 "description": "Add two numbers",
232 "name": "add",
233 "parameters": {
234 "properties": {
235 "a": {
236 "description": "first number",
237 "type": "integer"
238 },
239 "b": {
240 "description": "second number",
241 "type": "integer"
242 }
243 },
244 "required": [
245 "a",
246 "b"
247 ],
248 "type": "object"
249 },
250 "strict": false
251 },
252 {
253 "type": "function",
254 "description": "Multiply two numbers",
255 "name": "multiply",
256 "parameters": {
257 "properties": {
258 "a": {
259 "description": "first number",
260 "type": "integer"
261 },
262 "b": {
263 "description": "second number",
264 "type": "integer"
265 }
266 },
267 "required": [
268 "a",
269 "b"
270 ],
271 "type": "object"
272 },
273 "strict": false
274 }
275 ],
276 "top_logprobs": 0,
277 "top_p": 1.0,
278 "truncation": "disabled",
279 "usage": {
280 "input_tokens": 176,
281 "input_tokens_details": {
282 "cached_tokens": 0
283 },
284 "output_tokens": 26,
285 "output_tokens_details": {
286 "reasoning_tokens": 0
287 },
288 "total_tokens": 202
289 },
290 "user": null,
291 "metadata": {}
292 }
293 headers:
294 Content-Type:
295 - application/json
296 status: 200 OK
297 code: 200
298 duration: 1.3138075s