OpenAI::ResponseMCPCallFailedEvent
Inherits JSON::Serializable < Reference < Object
Emitted when an MCP tool call has failed.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ResponseMCPCallFailedEventType = ResponseMCPCallFailedEventType::ResponseMcpCallFailed, item_id : String = "", output_index : Int64 = 0, sequence_number : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : ResponseMCPCallFailedEventType)
The type of the event. Always 'response.mcp_call.failed'.