@@ -168,6 +168,19 @@ components:
168168 content :
169169 - type : output_text
170170 text : Hello! How can I help you today?
171+ ResponsesOutputMessage :
172+ allOf :
173+ - $ref : ' #/components/schemas/OutputMessage'
174+ - type : object
175+ properties : {}
176+ example :
177+ id : msg-abc123
178+ role : assistant
179+ type : message
180+ status : completed
181+ content :
182+ - type : output_text
183+ text : Hello! How can I help you today?
171184 ReasoningTextContent :
172185 type : object
173186 properties :
@@ -198,6 +211,29 @@ components:
198211 example :
199212 type : summary_text
200213 text : Analyzed the problem using first principles
214+ ResponsesOutputItemReasoning :
215+ type : object
216+ properties :
217+ type :
218+ type : string
219+ enum :
220+ - reasoning
221+ id :
222+ type : string
223+ content :
224+ type : array
225+ items :
226+ $ref : ' #/components/schemas/ReasoningTextContent'
227+ summary :
228+ type : array
229+ items :
230+ $ref : ' #/components/schemas/ReasoningSummaryText'
231+ encrypted_content :
232+ type : string
233+ nullable : true
234+ required :
235+ - type
236+ - summary
201237 OutputItemFunctionCall :
202238 type : object
203239 properties :
@@ -224,6 +260,17 @@ components:
224260 name : get_weather
225261 arguments : ' {"location":"San Francisco","unit":"celsius"}'
226262 call_id : call-abc123
263+ ResponsesOutputItemFunctionCall :
264+ allOf :
265+ - $ref : ' #/components/schemas/OutputItemFunctionCall'
266+ - type : object
267+ properties : {}
268+ example :
269+ type : function_call
270+ id : call-abc123
271+ name : get_weather
272+ arguments : ' {"location":"San Francisco","unit":"celsius"}'
273+ call_id : call-abc123
227274 WebSearchStatus :
228275 type : string
229276 enum :
@@ -251,6 +298,15 @@ components:
251298 type : web_search_call
252299 id : search-abc123
253300 status : completed
301+ ResponsesWebSearchCallOutput :
302+ allOf :
303+ - $ref : ' #/components/schemas/OutputItemWebSearchCall'
304+ - type : object
305+ properties : {}
306+ example :
307+ type : web_search_call
308+ id : search-abc123
309+ status : completed
254310 OutputItemFileSearchCall :
255311 type : object
256312 properties :
@@ -278,6 +334,18 @@ components:
278334 - machine learning algorithms
279335 - neural networks
280336 status : completed
337+ ResponsesOutputItemFileSearchCall :
338+ allOf :
339+ - $ref : ' #/components/schemas/OutputItemFileSearchCall'
340+ - type : object
341+ properties : {}
342+ example :
343+ type : file_search_call
344+ id : filesearch-abc123
345+ queries :
346+ - machine learning algorithms
347+ - neural networks
348+ status : completed
281349 ImageGenerationStatus :
282350 type : string
283351 enum :
@@ -310,80 +378,24 @@ components:
310378 id : imagegen-abc123
311379 result : iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==
312380 status : completed
381+ ResponsesImageGenerationCall :
382+ allOf :
383+ - $ref : ' #/components/schemas/OutputItemImageGenerationCall'
384+ - type : object
385+ properties : {}
386+ example :
387+ type : image_generation_call
388+ id : imagegen-abc123
389+ result : iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==
390+ status : completed
313391 ResponsesOutputItem :
314392 anyOf :
315- - allOf :
316- - $ref : ' #/components/schemas/OutputMessage'
317- - type : object
318- properties : {}
319- example :
320- id : msg-abc123
321- role : assistant
322- type : message
323- status : completed
324- content :
325- - type : output_text
326- text : Hello! How can I help you today?
327- - type : object
328- properties :
329- type :
330- type : string
331- enum :
332- - reasoning
333- id :
334- type : string
335- content :
336- type : array
337- items :
338- $ref : ' #/components/schemas/ReasoningTextContent'
339- summary :
340- type : array
341- items :
342- $ref : ' #/components/schemas/ReasoningSummaryText'
343- encrypted_content :
344- type : string
345- nullable : true
346- required :
347- - type
348- - summary
349- - allOf :
350- - $ref : ' #/components/schemas/OutputItemFunctionCall'
351- - type : object
352- properties : {}
353- example :
354- type : function_call
355- id : call-abc123
356- name : get_weather
357- arguments : ' {"location":"San Francisco","unit":"celsius"}'
358- call_id : call-abc123
359- - allOf :
360- - $ref : ' #/components/schemas/OutputItemWebSearchCall'
361- - type : object
362- properties : {}
363- example :
364- type : web_search_call
365- id : search-abc123
366- status : completed
367- - allOf :
368- - $ref : ' #/components/schemas/OutputItemFileSearchCall'
369- - type : object
370- properties : {}
371- example :
372- type : file_search_call
373- id : filesearch-abc123
374- queries :
375- - machine learning algorithms
376- - neural networks
377- status : completed
378- - allOf :
379- - $ref : ' #/components/schemas/OutputItemImageGenerationCall'
380- - type : object
381- properties : {}
382- example :
383- type : image_generation_call
384- id : imagegen-abc123
385- result : iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==
386- status : completed
393+ - $ref : ' #/components/schemas/ResponsesOutputMessage'
394+ - $ref : ' #/components/schemas/ResponsesOutputItemReasoning'
395+ - $ref : ' #/components/schemas/ResponsesOutputItemFunctionCall'
396+ - $ref : ' #/components/schemas/ResponsesWebSearchCallOutput'
397+ - $ref : ' #/components/schemas/ResponsesOutputItemFileSearchCall'
398+ - $ref : ' #/components/schemas/ResponsesImageGenerationCall'
387399 description : An output item from the response
388400 example :
389401 id : msg-abc123
@@ -744,78 +756,12 @@ components:
744756 - $ref : ' #/components/schemas/OpenResponsesInputMessageItem'
745757 - $ref : ' #/components/schemas/OpenResponsesFunctionToolCall'
746758 - $ref : ' #/components/schemas/OpenResponsesFunctionCallOutput'
747- - allOf :
748- - $ref : ' #/components/schemas/OutputMessage'
749- - type : object
750- properties : {}
751- example :
752- id : msg-abc123
753- role : assistant
754- type : message
755- status : completed
756- content :
757- - type : output_text
758- text : Hello! How can I help you today?
759- - type : object
760- properties :
761- type :
762- type : string
763- enum :
764- - reasoning
765- id :
766- type : string
767- content :
768- type : array
769- items :
770- $ref : ' #/components/schemas/ReasoningTextContent'
771- summary :
772- type : array
773- items :
774- $ref : ' #/components/schemas/ReasoningSummaryText'
775- encrypted_content :
776- type : string
777- nullable : true
778- required :
779- - type
780- - summary
781- - allOf :
782- - $ref : ' #/components/schemas/OutputItemFunctionCall'
783- - type : object
784- properties : {}
785- example :
786- type : function_call
787- id : call-abc123
788- name : get_weather
789- arguments : ' {"location":"San Francisco","unit":"celsius"}'
790- call_id : call-abc123
791- - allOf :
792- - $ref : ' #/components/schemas/OutputItemWebSearchCall'
793- - type : object
794- properties : {}
795- example :
796- type : web_search_call
797- id : search-abc123
798- status : completed
799- - allOf :
800- - $ref : ' #/components/schemas/OutputItemFileSearchCall'
801- - type : object
802- properties : {}
803- example :
804- type : file_search_call
805- id : filesearch-abc123
806- queries :
807- - machine learning algorithms
808- - neural networks
809- status : completed
810- - allOf :
811- - $ref : ' #/components/schemas/OutputItemImageGenerationCall'
812- - type : object
813- properties : {}
814- example :
815- type : image_generation_call
816- id : imagegen-abc123
817- result : iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==
818- status : completed
759+ - $ref : ' #/components/schemas/ResponsesOutputMessage'
760+ - $ref : ' #/components/schemas/ResponsesOutputItemReasoning'
761+ - $ref : ' #/components/schemas/ResponsesOutputItemFunctionCall'
762+ - $ref : ' #/components/schemas/ResponsesWebSearchCallOutput'
763+ - $ref : ' #/components/schemas/ResponsesOutputItemFileSearchCall'
764+ - $ref : ' #/components/schemas/ResponsesImageGenerationCall'
819765 description : An item in the input array for a response request
820766 example :
821767 role : user
@@ -893,6 +839,28 @@ components:
893839 - high
894840 description : Size of the search context for web search tools
895841 example : medium
842+ WebSearchPreviewToolUserLocation :
843+ type : object
844+ nullable : true
845+ properties :
846+ type :
847+ type : string
848+ enum :
849+ - approximate
850+ city :
851+ type : string
852+ nullable : true
853+ country :
854+ type : string
855+ nullable : true
856+ region :
857+ type : string
858+ nullable : true
859+ timezone :
860+ type : string
861+ nullable : true
862+ required :
863+ - type
896864 OpenResponsesWebSearchPreviewTool :
897865 type : object
898866 properties :
@@ -903,27 +871,7 @@ components:
903871 search_context_size :
904872 $ref : ' #/components/schemas/ResponsesSearchContextSize'
905873 user_location :
906- type : object
907- nullable : true
908- properties :
909- type :
910- type : string
911- enum :
912- - approximate
913- city :
914- type : string
915- nullable : true
916- country :
917- type : string
918- nullable : true
919- region :
920- type : string
921- nullable : true
922- timezone :
923- type : string
924- nullable : true
925- required :
926- - type
874+ $ref : ' #/components/schemas/WebSearchPreviewToolUserLocation'
927875 required :
928876 - type
929877 description : Web search preview tool configuration
@@ -939,27 +887,7 @@ components:
939887 search_context_size :
940888 $ref : ' #/components/schemas/ResponsesSearchContextSize'
941889 user_location :
942- type : object
943- nullable : true
944- properties :
945- type :
946- type : string
947- enum :
948- - approximate
949- city :
950- type : string
951- nullable : true
952- country :
953- type : string
954- nullable : true
955- region :
956- type : string
957- nullable : true
958- timezone :
959- type : string
960- nullable : true
961- required :
962- - type
890+ $ref : ' #/components/schemas/WebSearchPreviewToolUserLocation'
963891 required :
964892 - type
965893 description : Web search preview tool configuration (2025-03-11 version)
0 commit comments