Module: OpenAI::Models::Realtime::RealtimeResponseCreateParams::Tool
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/realtime/realtime_response_create_params.rb,
sig/openai/models/realtime/realtime_response_create_params.rbs
Overview
Give the model access to additional tools via remote Model Context Protocol (MCP) servers. Learn more about MCP.
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(OpenAI::Models::Realtime::RealtimeFunctionTool, OpenAI::Models::Realtime::RealtimeResponseCreateMcpTool)
|
|
# File 'lib/openai/models/realtime/realtime_response_create_params.rb', line 236
|
Instance Method Details
#self?.variants ⇒ ::Array[OpenAI::Models::Realtime::RealtimeResponseCreateParams::tool]
159 |
# File 'sig/openai/models/realtime/realtime_response_create_params.rbs', line 159
def self?.variants: -> ::Array[OpenAI::Models::Realtime::RealtimeResponseCreateParams::tool]
|