Class: OpenAI::Models::Realtime::RealtimeMcpListTools

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

Defined Under Namespace

Classes: Tool

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from OpenAI::Internal::Type::BaseModel

Instance Attribute Details

#idString?

The unique ID of the list.

Returns:

  • (String, nil)


29
# File 'lib/openai/models/realtime/realtime_mcp_list_tools.rb', line 29

optional :id, String

#server_labelString

The label of the MCP server.

Returns:

  • (String)


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

required :server_label, String

#toolsArray<OpenAI::Models::Realtime::RealtimeMcpListTools::Tool>

The tools available on the server.



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

required :tools, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Realtime::RealtimeMcpListTools::Tool] }

#typeSymbol, :mcp_list_tools

The type of the item. Always ‘mcp_list_tools`.

Returns:

  • (Symbol, :mcp_list_tools)


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

required :type, const: :mcp_list_tools