class

OpenAI::ResponseMCPCallArgumentsDeltaEvent

Inherits JSON::Serializable < Reference < Object

Emitted when there is a delta (partial update) to the arguments of an MCP tool call.

Constructors

new(type_value : ResponseMCPCallArgumentsDeltaEventType = ResponseMCPCallArgumentsDeltaEventType::ResponseMcpCallArgumentsDelta, output_index : Int64 = 0, item_id : String = "", delta : String = "", sequence_number : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

delta

A JSON string containing the partial update to the arguments for the MCP tool call.

Source
delta=(delta : String)

A JSON string containing the partial update to the arguments for the MCP tool call.

Source
item_id

The unique identifier of the MCP tool call item being processed.

Source
item_id=(item_id : String)

The unique identifier of the MCP tool call item being processed.

Source
output_index

The index of the output item in the response's output array.

Source
output_index=(output_index : Int64)

The index of the output item in the response's output array.

Source
sequence_number

The sequence number of this event.

Source
sequence_number=(sequence_number : Int64)

The sequence number of this event.

Source
type_value

The type of the event. Always 'response.mcp_call_arguments.delta'.

Source
type_value=(type_value : ResponseMCPCallArgumentsDeltaEventType)

The type of the event. Always 'response.mcp_call_arguments.delta'.

Source