OpenAI::RealtimeMCPToolCall
Inherits JSON::Serializable < Reference < Object
A Realtime item representing an invocation of a tool on an MCP server.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : RealtimeMCPToolCallType = RealtimeMCPToolCallType::McpCall, id : String = "", server_label : String = "", name : String = "", arguments : String = "", approval_request_id : RealtimeMCPToolCallApprovalRequestId | Nil = nil, output : RealtimeMCPToolCallOutput | Nil = nil, error : RealtimeMCPToolCallError | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
approval_request_id
Sourceapproval_request_id=(approval_request_id : RealtimeMCPToolCallApprovalRequestId | Nil)
Sourceerror
Sourceerror=(error : RealtimeMCPToolCallError | Nil)
Sourceoutput
Sourceoutput=(output : RealtimeMCPToolCallOutput | Nil)
Source