Module: OpenAI::Models::Responses::Tool::Mcp::AllowedTools
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/responses/tool.rb
Overview
List of allowed tool names or a filter object.
Defined Under Namespace
Classes: McpAllowedToolsFilter
Constant Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(tool_names: nil) ⇒ Object
A filter object to specify which tools are allowed.
Methods included from Internal::Type::Union
==, ===, coerce, 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, type_info
Class Method Details
.variants ⇒ Array(Array<String>, OpenAI::Models::Responses::Tool::Mcp::AllowedTools::McpAllowedToolsFilter)
|
# File 'lib/openai/models/responses/tool.rb', line 122
|
Instance Method Details
#initialize(tool_names: nil) ⇒ Object
A filter object to specify which tools are allowed.
|
# File 'lib/openai/models/responses/tool.rb', line 116
|