class

OpenAI::ResponseMCPListToolsFailedEvent

Inherits JSON::Serializable < Reference < Object

Emitted when the attempt to list available MCP tools has failed.

Constructors

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

Instance methods

item_id

The ID of the MCP tool call item that failed.

Source
item_id=(item_id : String)

The ID of the MCP tool call item that failed.

Source
output_index

The index of the output item that failed.

Source
output_index=(output_index : Int64)

The index of the output item that failed.

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_list_tools.failed'.

Source
type_value=(type_value : ResponseMCPListToolsFailedEventType)

The type of the event. Always 'response.mcp_list_tools.failed'.

Source