Class: OpenAI::Models::Realtime::McpListToolsFailed

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/realtime/mcp_list_tools_failed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(event_id:, item_id:, type: :"mcp_list_tools.failed") ⇒ Object

Returned when listing MCP tools has failed for an item.

Parameters:

  • event_id (String)

    The unique ID of the server event.

  • item_id (String)

    The ID of the MCP list tools item.

  • type (Symbol, :"mcp_list_tools.failed") (defaults to: :"mcp_list_tools.failed")

    The event type, must be ‘mcp_list_tools.failed`.



# File 'lib/openai/models/realtime/mcp_list_tools_failed.rb', line 25

Instance Attribute Details

#event_idString

The unique ID of the server event.

Returns:

  • (String)


11
# File 'lib/openai/models/realtime/mcp_list_tools_failed.rb', line 11

required :event_id, String

#item_idString

The ID of the MCP list tools item.

Returns:

  • (String)


17
# File 'lib/openai/models/realtime/mcp_list_tools_failed.rb', line 17

required :item_id, String

#typeSymbol, :"mcp_list_tools.failed"

The event type, must be ‘mcp_list_tools.failed`.

Returns:

  • (Symbol, :"mcp_list_tools.failed")


23
# File 'lib/openai/models/realtime/mcp_list_tools_failed.rb', line 23

required :type, const: :"mcp_list_tools.failed"