class

OpenAI::RealtimeServerEventResponseMCPCallArgumentsDelta

Inherits JSON::Serializable < Reference < Object

Returned when MCP tool call arguments are updated during response generation.

Constructors

new(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, response_id : String = "", item_id : String = "", output_index : Int64 = 0, delta : String = "", obfuscation : RealtimeServerEventResponseMCPCallArgumentsDeltaObfuscation | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

delta

The JSON-encoded arguments delta.

Source
delta=(delta : String)

The JSON-encoded arguments delta.

Source
event_id

The unique ID of the server event.

Source
event_id=(event_id : String)

The unique ID of the server event.

Source
item_id

The ID of the MCP tool call item.

Source
item_id=(item_id : String)

The ID of the MCP tool call item.

Source
obfuscation
Source
obfuscation=(obfuscation : RealtimeServerEventResponseMCPCallArgumentsDeltaObfuscation | Nil)
Source
output_index

The index of the output item in the response.

Source
output_index=(output_index : Int64)

The index of the output item in the response.

Source
response_id

The ID of the response.

Source
response_id=(response_id : String)

The ID of the response.

Source
type_value

The event type, must be response.mcp_call_arguments.delta.

Source
type_value=(type_value : Hash(String, JSON::Any))

The event type, must be response.mcp_call_arguments.delta.

Source