Skip to content

Commit bfed4af

Browse files
fix(api): fix mcp tool name
1 parent 9272e61 commit bfed4af

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-ea23db36b0899cc715f56d0098956069b2d92880f448adff3a4ac1bb53cb2cec.yml
3-
openapi_spec_hash: 36f76ea31297c9593bcfae453f6255cc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-65d42621b731238ad4e59a35a705fc0608b17f53a14d047e66ce480c793da26b.yml
3+
openapi_spec_hash: d7ca86b2507600cbd5ed197cf31263c2
44
config_hash: 666d6bb4b564f0d9d431124b5d1a0665

src/openai/types/realtime/realtime_mcp_tool_call.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class RealtimeMcpToolCall(BaseModel):
3030
server_label: str
3131
"""The label of the MCP server running the tool."""
3232

33-
type: Literal["mcp_tool_call"]
34-
"""The type of the item. Always `mcp_tool_call`."""
33+
type: Literal["mcp_call"]
34+
"""The type of the item. Always `mcp_call`."""
3535

3636
approval_request_id: Optional[str] = None
3737
"""The ID of an associated approval request, if any."""

src/openai/types/realtime/realtime_mcp_tool_call_param.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class RealtimeMcpToolCallParam(TypedDict, total=False):
2727
server_label: Required[str]
2828
"""The label of the MCP server running the tool."""
2929

30-
type: Required[Literal["mcp_tool_call"]]
31-
"""The type of the item. Always `mcp_tool_call`."""
30+
type: Required[Literal["mcp_call"]]
31+
"""The type of the item. Always `mcp_call`."""
3232

3333
approval_request_id: Optional[str]
3434
"""The ID of an associated approval request, if any."""

0 commit comments

Comments
 (0)