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(pull : JSON::PullParser)
Sourcenew(type_value : ResponseMCPCallArgumentsDeltaEventType = ResponseMCPCallArgumentsDeltaEventType::ResponseMcpCallArgumentsDelta, output_index : Int64 = 0, item_id : String = "", delta : String = "", sequence_number : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
delta=(delta : String)
A JSON string containing the partial update to the arguments for the MCP tool call.
output_index=(output_index : Int64)
The index of the output item in the response's output array.
type_value=(type_value : ResponseMCPCallArgumentsDeltaEventType)
The type of the event. Always 'response.mcp_call_arguments.delta'.