OpenAI::ResponseMCPCallArgumentsDoneEvent
Inherits JSON::Serializable < Reference < Object
Emitted when the arguments for an MCP tool call are finalized.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseMCPCallArgumentsDoneEventType = ResponseMCPCallArgumentsDoneEventType::ResponseMcpCallArgumentsDone, output_index : Int64 = 0, item_id : String = "", arguments : String = "", sequence_number : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
arguments=(arguments : String)
A JSON string containing the finalized 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 : ResponseMCPCallArgumentsDoneEventType)
The type of the event. Always 'response.mcp_call_arguments.done'.