@@ -16321,7 +16321,6 @@ components:
1632116321 - $ref: '#/components/schemas/OutputToolSearchServerToolItem'
1632216322 - $ref: '#/components/schemas/OutputMemoryServerToolItem'
1632316323 - $ref: '#/components/schemas/OutputArmorBlockedItem'
16324- - $ref: '#/components/schemas/OutputMcpServerToolItem'
1632516324 - $ref: '#/components/schemas/OutputSearchModelsServerToolItem'
1632616325 - $ref: '#/components/schemas/OutputFusionServerToolItem'
1632716326 - $ref: '#/components/schemas/OutputAdvisorServerToolItem'
@@ -17412,6 +17411,134 @@ components:
1741217411 - 'approval_request_id'
1741317412 - 'approve'
1741417413 type: 'object'
17414+ McpCallArgumentsDeltaEvent:
17415+ description: 'A partial update to the JSON-encoded arguments of an MCP tool call.'
17416+ example:
17417+ delta: '{"query":"text-to-image"}'
17418+ item_id: 'mcp_abc123'
17419+ output_index: 1
17420+ sequence_number: 6
17421+ type: 'response.mcp_call_arguments.delta'
17422+ properties:
17423+ delta:
17424+ type: 'string'
17425+ item_id:
17426+ type: 'string'
17427+ output_index:
17428+ type: 'integer'
17429+ sequence_number:
17430+ type: 'integer'
17431+ type:
17432+ enum:
17433+ - 'response.mcp_call_arguments.delta'
17434+ type: 'string'
17435+ required:
17436+ - 'type'
17437+ - 'delta'
17438+ - 'item_id'
17439+ - 'output_index'
17440+ - 'sequence_number'
17441+ type: 'object'
17442+ McpCallArgumentsDoneEvent:
17443+ description: 'Emitted when the JSON-encoded arguments of an MCP tool call are finalized.'
17444+ example:
17445+ arguments: '{"query":"text-to-image"}'
17446+ item_id: 'mcp_abc123'
17447+ output_index: 1
17448+ sequence_number: 7
17449+ type: 'response.mcp_call_arguments.done'
17450+ properties:
17451+ arguments:
17452+ type: 'string'
17453+ item_id:
17454+ type: 'string'
17455+ output_index:
17456+ type: 'integer'
17457+ sequence_number:
17458+ type: 'integer'
17459+ type:
17460+ enum:
17461+ - 'response.mcp_call_arguments.done'
17462+ type: 'string'
17463+ required:
17464+ - 'type'
17465+ - 'arguments'
17466+ - 'item_id'
17467+ - 'output_index'
17468+ - 'sequence_number'
17469+ type: 'object'
17470+ McpCallCompletedEvent:
17471+ description: 'Emitted when an MCP tool call completes successfully.'
17472+ example:
17473+ item_id: 'mcp_abc123'
17474+ output_index: 1
17475+ sequence_number: 8
17476+ type: 'response.mcp_call.completed'
17477+ properties:
17478+ item_id:
17479+ type: 'string'
17480+ output_index:
17481+ type: 'integer'
17482+ sequence_number:
17483+ type: 'integer'
17484+ type:
17485+ enum:
17486+ - 'response.mcp_call.completed'
17487+ type: 'string'
17488+ required:
17489+ - 'type'
17490+ - 'item_id'
17491+ - 'output_index'
17492+ - 'sequence_number'
17493+ type: 'object'
17494+ McpCallFailedEvent:
17495+ description: 'Emitted when an MCP tool call fails.'
17496+ example:
17497+ item_id: 'mcp_abc123'
17498+ output_index: 1
17499+ sequence_number: 8
17500+ type: 'response.mcp_call.failed'
17501+ properties:
17502+ item_id:
17503+ type: 'string'
17504+ output_index:
17505+ type: 'integer'
17506+ sequence_number:
17507+ type: 'integer'
17508+ type:
17509+ enum:
17510+ - 'response.mcp_call.failed'
17511+ type: 'string'
17512+ required:
17513+ - 'type'
17514+ - 'item_id'
17515+ - 'output_index'
17516+ - 'sequence_number'
17517+ type: 'object'
17518+ McpCallInProgressEvent:
17519+ description: 'Emitted when an MCP tool call begins executing.'
17520+ example:
17521+ item_id: 'mcp_abc123'
17522+ output_index: 1
17523+ sequence_number: 5
17524+ type: 'response.mcp_call.in_progress'
17525+ properties:
17526+ item_id:
17527+ type: 'string'
17528+ output_index:
17529+ type: 'integer'
17530+ sequence_number:
17531+ type: 'integer'
17532+ type:
17533+ enum:
17534+ - 'response.mcp_call.in_progress'
17535+ type: 'string'
17536+ required:
17537+ - 'type'
17538+ - 'item_id'
17539+ - 'output_index'
17540+ - 'sequence_number'
17541+ type: 'object'
1741517542 McpCallItem:
1741617543 description: 'An MCP tool call with its output or error'
1741717544 example:
@@ -17467,6 +17594,78 @@ components:
1746717594 - 'code'
1746817595 - 'message'
1746917596 type: 'object'
17597+ McpListToolsCompletedEvent:
17598+ description: 'Emitted when tool discovery against an MCP server succeeds.'
17599+ example:
17600+ item_id: 'mcpl_abc123'
17601+ output_index: 0
17602+ sequence_number: 2
17603+ type: 'response.mcp_list_tools.completed'
17604+ properties:
17605+ item_id:
17606+ type: 'string'
17607+ output_index:
17608+ type: 'integer'
17609+ sequence_number:
17610+ type: 'integer'
17611+ type:
17612+ enum:
17613+ - 'response.mcp_list_tools.completed'
17614+ type: 'string'
17615+ required:
17616+ - 'type'
17617+ - 'item_id'
17618+ - 'output_index'
17619+ - 'sequence_number'
17620+ type: 'object'
17621+ McpListToolsFailedEvent:
17622+ description: 'Emitted when tool discovery against an MCP server fails.'
17623+ example:
17624+ item_id: 'mcpl_abc123'
17625+ output_index: 0
17626+ sequence_number: 2
17627+ type: 'response.mcp_list_tools.failed'
17628+ properties:
17629+ item_id:
17630+ type: 'string'
17631+ output_index:
17632+ type: 'integer'
17633+ sequence_number:
17634+ type: 'integer'
17635+ type:
17636+ enum:
17637+ - 'response.mcp_list_tools.failed'
17638+ type: 'string'
17639+ required:
17640+ - 'type'
17641+ - 'item_id'
17642+ - 'output_index'
17643+ - 'sequence_number'
17644+ type: 'object'
17645+ McpListToolsInProgressEvent:
17646+ description: 'Emitted when tool discovery against an MCP server begins.'
17647+ example:
17648+ item_id: 'mcpl_abc123'
17649+ output_index: 0
17650+ sequence_number: 1
17651+ type: 'response.mcp_list_tools.in_progress'
17652+ properties:
17653+ item_id:
17654+ type: 'string'
17655+ output_index:
17656+ type: 'integer'
17657+ sequence_number:
17658+ type: 'integer'
17659+ type:
17660+ enum:
17661+ - 'response.mcp_list_tools.in_progress'
17662+ type: 'string'
17663+ required:
17664+ - 'type'
17665+ - 'item_id'
17666+ - 'output_index'
17667+ - 'sequence_number'
17668+ type: 'object'
1747017669 McpListToolsItem:
1747117670 description: 'List of available MCP tools from a server'
1747217671 example:
@@ -25363,6 +25562,8 @@ components:
2536325562 file_search_call: '#/components/schemas/OutputFileSearchCallItem'
2536425563 function_call: '#/components/schemas/OutputFunctionCallItem'
2536525564 image_generation_call: '#/components/schemas/OutputImageGenerationCallItem'
25565+ mcp_call: '#/components/schemas/McpCallItem'
25566+ mcp_list_tools: '#/components/schemas/McpListToolsItem'
2536625567 message: '#/components/schemas/OutputMessageItem'
2536725568 openrouter:advisor: '#/components/schemas/OutputAdvisorServerToolItem'
2536825569 openrouter:apply_patch: '#/components/schemas/OutputApplyPatchServerToolItem'
@@ -25376,7 +25577,6 @@ components:
2537625577 openrouter:files: '#/components/schemas/OutputFilesServerToolItem'
2537725578 openrouter:fusion: '#/components/schemas/OutputFusionServerToolItem'
2537825579 openrouter:image_generation: '#/components/schemas/OutputImageGenerationServerToolItem'
25379- openrouter:mcp: '#/components/schemas/OutputMcpServerToolItem'
2538025580 openrouter:memory: '#/components/schemas/OutputMemoryServerToolItem'
2538125581 openrouter:shell: '#/components/schemas/OutputShellServerToolItem'
2538225582 openrouter:subagent: '#/components/schemas/OutputSubagentServerToolItem'
@@ -25424,7 +25624,8 @@ components:
2542425624 - $ref: '#/components/schemas/OutputWebFetchServerToolItem'
2542525625 - $ref: '#/components/schemas/OutputToolSearchServerToolItem'
2542625626 - $ref: '#/components/schemas/OutputMemoryServerToolItem'
25427- - $ref: '#/components/schemas/OutputMcpServerToolItem'
25627+ - $ref: '#/components/schemas/McpListToolsItem'
25628+ - $ref: '#/components/schemas/McpCallItem'
2542825629 - $ref: '#/components/schemas/OutputSearchModelsServerToolItem'
2542925630 - $ref: '#/components/schemas/OutputFusionServerToolItem'
2543025631 - $ref: '#/components/schemas/OutputAdvisorServerToolItem'
@@ -25503,31 +25704,6 @@ components:
2550325704 - 'id'
2550425705 - 'status'
2550525706 type: 'object'
25506- OutputMcpServerToolItem:
25507- description: 'An openrouter:mcp server tool output item'
25508- example:
25509- id: 'mcp_tmp_abc123'
25510- serverLabel: 'my-server'
25511- status: 'completed'
25512- toolName: 'get_data'
25513- type: 'openrouter:mcp'
25514- properties:
25515- id:
25516- type: 'string'
25517- serverLabel:
25518- type: 'string'
25519- status:
25520- $ref: '#/components/schemas/ToolCallStatus'
25521- toolName:
25522- type: 'string'
25523- type:
25524- enum:
25525- - 'openrouter:mcp'
25526- type: 'string'
25527- required:
25528- - 'status'
25529- - 'type'
25530- type: 'object'
2553125707 OutputMemoryServerToolItem:
2553225708 description: 'An openrouter:memory server tool output item'
2553325709 example:
@@ -31333,6 +31509,14 @@ components:
3133331509 response.image_generation_call.partial_image: '#/components/schemas/ImageGenCallPartialImageEvent'
3133431510 response.in_progress: '#/components/schemas/OpenResponsesInProgressEvent'
3133531511 response.incomplete: '#/components/schemas/StreamEventsResponseIncomplete'
31512+ response.mcp_call_arguments.delta: '#/components/schemas/McpCallArgumentsDeltaEvent'
31513+ response.mcp_call_arguments.done: '#/components/schemas/McpCallArgumentsDoneEvent'
31514+ response.mcp_call.completed: '#/components/schemas/McpCallCompletedEvent'
31515+ response.mcp_call.failed: '#/components/schemas/McpCallFailedEvent'
31516+ response.mcp_call.in_progress: '#/components/schemas/McpCallInProgressEvent'
31517+ response.mcp_list_tools.completed: '#/components/schemas/McpListToolsCompletedEvent'
31518+ response.mcp_list_tools.failed: '#/components/schemas/McpListToolsFailedEvent'
31519+ response.mcp_list_tools.in_progress: '#/components/schemas/McpListToolsInProgressEvent'
3133631520 response.output_item.added: '#/components/schemas/StreamEventsResponseOutputItemAdded'
3133731521 response.output_item.done: '#/components/schemas/StreamEventsResponseOutputItemDone'
3133831522 response.output_text.annotation.added: '#/components/schemas/AnnotationAddedEvent'
@@ -31422,6 +31606,14 @@ components:
3142231606 - $ref: '#/components/schemas/FusionCallAnalysisInProgressEvent'
3142331607 - $ref: '#/components/schemas/FusionCallAnalysisCompletedEvent'
3142431608 - $ref: '#/components/schemas/FusionCallCompletedEvent'
31609+ - $ref: '#/components/schemas/McpListToolsInProgressEvent'
31610+ - $ref: '#/components/schemas/McpListToolsCompletedEvent'
31611+ - $ref: '#/components/schemas/McpListToolsFailedEvent'
31612+ - $ref: '#/components/schemas/McpCallInProgressEvent'
31613+ - $ref: '#/components/schemas/McpCallArgumentsDeltaEvent'
31614+ - $ref: '#/components/schemas/McpCallArgumentsDoneEvent'
31615+ - $ref: '#/components/schemas/McpCallCompletedEvent'
31616+ - $ref: '#/components/schemas/McpCallFailedEvent'
3142531617 - $ref: '#/components/schemas/DebugEvent'
3142631618 StreamEventsResponseCompleted:
3142731619 allOf:
0 commit comments