@@ -29,10 +29,10 @@ class RealtimeMcpToolCall < OpenAI::Internal::Type::BaseModel
29
29
required :server_label , String
30
30
31
31
# @!attribute type
32
- # The type of the item. Always `mcp_tool_call `.
32
+ # The type of the item. Always `mcp_call `.
33
33
#
34
- # @return [Symbol, :mcp_tool_call ]
35
- required :type , const : :mcp_tool_call
34
+ # @return [Symbol, :mcp_call ]
35
+ required :type , const : :mcp_call
36
36
37
37
# @!attribute approval_request_id
38
38
# The ID of an associated approval request, if any.
@@ -52,7 +52,7 @@ class RealtimeMcpToolCall < OpenAI::Internal::Type::BaseModel
52
52
# @return [String, nil]
53
53
optional :output , String , nil? : true
54
54
55
- # @!method initialize(id:, arguments:, name:, server_label:, approval_request_id: nil, error: nil, output: nil, type: :mcp_tool_call )
55
+ # @!method initialize(id:, arguments:, name:, server_label:, approval_request_id: nil, error: nil, output: nil, type: :mcp_call )
56
56
# A Realtime item representing an invocation of a tool on an MCP server.
57
57
#
58
58
# @param id [String] The unique ID of the tool call.
@@ -69,7 +69,7 @@ class RealtimeMcpToolCall < OpenAI::Internal::Type::BaseModel
69
69
#
70
70
# @param output [String, nil] The output from the tool call.
71
71
#
72
- # @param type [Symbol, :mcp_tool_call ] The type of the item. Always `mcp_tool_call `.
72
+ # @param type [Symbol, :mcp_call ] The type of the item. Always `mcp_call `.
73
73
74
74
# The error from the tool call, if any.
75
75
#
0 commit comments