Skip to content

Commit 4d35453

Browse files
feat(api): update OpenAPI spec or Stainless config
1 parent 2bba15e commit 4d35453

10 files changed

Lines changed: 75 additions & 27 deletions

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 264
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai/openai-4db8edc05bd5503d4aaad74e8b9c783aa1f4d40382a8075c53355bd18dfaf68c.yml
3-
openapi_spec_hash: 2466f6ad496b27334217999202e185c0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai/openai-b5b621065906a2579dc180db1236ee3b08a4fca9539accc2fbbf88da0ca3923f.yml
3+
openapi_spec_hash: 45b1b4692b26e714008d8120ccfc7433
44
config_hash: ef3ce17315a31703e7af0567b3e9738c

‎src/openai/types/realtime/realtime_response_create_mcp_tool.py‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ class RealtimeResponseCreateMcpTool(BaseModel):
118118
] = None
119119
"""Identifier for service connectors, like those available in ChatGPT.
120120
121-
One of `server_url` or `connector_id` must be provided. Learn more about service
122-
connectors
121+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
122+
about service connectors
123123
[here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
124124
125125
Currently supported `connector_id` values are:
@@ -152,5 +152,11 @@ class RealtimeResponseCreateMcpTool(BaseModel):
152152
server_url: Optional[str] = None
153153
"""The URL for the MCP server.
154154
155-
One of `server_url` or `connector_id` must be provided.
155+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
156+
"""
157+
158+
tunnel_id: Optional[str] = None
159+
"""The Secure MCP Tunnel ID to use instead of a direct server URL.
160+
161+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
156162
"""

‎src/openai/types/realtime/realtime_response_create_mcp_tool_param.py‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ class RealtimeResponseCreateMcpToolParam(TypedDict, total=False):
118118
]
119119
"""Identifier for service connectors, like those available in ChatGPT.
120120
121-
One of `server_url` or `connector_id` must be provided. Learn more about service
122-
connectors
121+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
122+
about service connectors
123123
[here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
124124
125125
Currently supported `connector_id` values are:
@@ -152,5 +152,11 @@ class RealtimeResponseCreateMcpToolParam(TypedDict, total=False):
152152
server_url: str
153153
"""The URL for the MCP server.
154154
155-
One of `server_url` or `connector_id` must be provided.
155+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
156+
"""
157+
158+
tunnel_id: str
159+
"""The Secure MCP Tunnel ID to use instead of a direct server URL.
160+
161+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
156162
"""

‎src/openai/types/realtime/realtime_session_create_response.py‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ class ToolMcpTool(BaseModel):
340340
] = None
341341
"""Identifier for service connectors, like those available in ChatGPT.
342342
343-
One of `server_url` or `connector_id` must be provided. Learn more about service
344-
connectors
343+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
344+
about service connectors
345345
[here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
346346
347347
Currently supported `connector_id` values are:
@@ -374,7 +374,13 @@ class ToolMcpTool(BaseModel):
374374
server_url: Optional[str] = None
375375
"""The URL for the MCP server.
376376
377-
One of `server_url` or `connector_id` must be provided.
377+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
378+
"""
379+
380+
tunnel_id: Optional[str] = None
381+
"""The Secure MCP Tunnel ID to use instead of a direct server URL.
382+
383+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
378384
"""
379385

380386

‎src/openai/types/realtime/realtime_tools_config_param.py‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ class Mcp(TypedDict, total=False):
121121
]
122122
"""Identifier for service connectors, like those available in ChatGPT.
123123
124-
One of `server_url` or `connector_id` must be provided. Learn more about service
125-
connectors
124+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
125+
about service connectors
126126
[here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
127127
128128
Currently supported `connector_id` values are:
@@ -155,7 +155,13 @@ class Mcp(TypedDict, total=False):
155155
server_url: str
156156
"""The URL for the MCP server.
157157
158-
One of `server_url` or `connector_id` must be provided.
158+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
159+
"""
160+
161+
tunnel_id: str
162+
"""The Secure MCP Tunnel ID to use instead of a direct server URL.
163+
164+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
159165
"""
160166

161167

‎src/openai/types/realtime/realtime_tools_config_union.py‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ class Mcp(BaseModel):
121121
] = None
122122
"""Identifier for service connectors, like those available in ChatGPT.
123123
124-
One of `server_url` or `connector_id` must be provided. Learn more about service
125-
connectors
124+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
125+
about service connectors
126126
[here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
127127
128128
Currently supported `connector_id` values are:
@@ -155,7 +155,13 @@ class Mcp(BaseModel):
155155
server_url: Optional[str] = None
156156
"""The URL for the MCP server.
157157
158-
One of `server_url` or `connector_id` must be provided.
158+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
159+
"""
160+
161+
tunnel_id: Optional[str] = None
162+
"""The Secure MCP Tunnel ID to use instead of a direct server URL.
163+
164+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
159165
"""
160166

161167

‎src/openai/types/realtime/realtime_tools_config_union_param.py‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ class Mcp(TypedDict, total=False):
120120
]
121121
"""Identifier for service connectors, like those available in ChatGPT.
122122
123-
One of `server_url` or `connector_id` must be provided. Learn more about service
124-
connectors
123+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
124+
about service connectors
125125
[here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
126126
127127
Currently supported `connector_id` values are:
@@ -154,7 +154,13 @@ class Mcp(TypedDict, total=False):
154154
server_url: str
155155
"""The URL for the MCP server.
156156
157-
One of `server_url` or `connector_id` must be provided.
157+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
158+
"""
159+
160+
tunnel_id: str
161+
"""The Secure MCP Tunnel ID to use instead of a direct server URL.
162+
163+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
158164
"""
159165

160166

‎src/openai/types/responses/tool.py‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ class Mcp(BaseModel):
145145
] = None
146146
"""Identifier for service connectors, like those available in ChatGPT.
147147
148-
One of `server_url` or `connector_id` must be provided. Learn more about service
149-
connectors
148+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
149+
about service connectors
150150
[here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
151151
152152
Currently supported `connector_id` values are:
@@ -179,7 +179,13 @@ class Mcp(BaseModel):
179179
server_url: Optional[str] = None
180180
"""The URL for the MCP server.
181181
182-
One of `server_url` or `connector_id` must be provided.
182+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
183+
"""
184+
185+
tunnel_id: Optional[str] = None
186+
"""The Secure MCP Tunnel ID to use instead of a direct server URL.
187+
188+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
183189
"""
184190

185191

‎src/openai/types/responses/tool_param.py‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ class Mcp(TypedDict, total=False):
145145
]
146146
"""Identifier for service connectors, like those available in ChatGPT.
147147
148-
One of `server_url` or `connector_id` must be provided. Learn more about service
149-
connectors
148+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more
149+
about service connectors
150150
[here](https://platform.openai.com/docs/guides/tools-remote-mcp#connectors).
151151
152152
Currently supported `connector_id` values are:
@@ -179,7 +179,13 @@ class Mcp(TypedDict, total=False):
179179
server_url: str
180180
"""The URL for the MCP server.
181181
182-
One of `server_url` or `connector_id` must be provided.
182+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
183+
"""
184+
185+
tunnel_id: str
186+
"""The Secure MCP Tunnel ID to use instead of a direct server URL.
187+
188+
One of `server_url`, `connector_id`, or `tunnel_id` must be provided.
183189
"""
184190

185191

‎src/openai/types/video_edit_params.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class VideoEditParams(TypedDict, total=False):
1919

2020

2121
class VideoVideoReferenceInputParam(TypedDict, total=False):
22-
"""Reference to the completed video."""
22+
"""Reference to the completed video to edit."""
2323

2424
id: Required[str]
2525
"""The identifier of the completed video."""

0 commit comments

Comments
 (0)