Class: Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119
- Defined in:
- lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb
Defined Under Namespace
Modules: AllowedCaller, Type
Instance Attribute Summary collapse
- #allowed_callers ⇒ Array<Symbol, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119::AllowedCaller>?
-
#cache_control ⇒ Anthropic::Models::Beta::BetaCacheControlEphemeral?
Create a cache control breakpoint at this content block.
-
#defer_loading ⇒ Boolean?
If true, tool will not be included in initial system prompt.
-
#name ⇒ Symbol, :tool_search_tool_bm25
Name of the tool.
- #strict ⇒ Boolean?
- #type ⇒ Symbol, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119::Type
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: , allowed_callers: nil, cache_control: nil, defer_loading: nil, strict: nil, name: :tool_search_tool_bm25) ⇒ void
constructor
Some parameter documentations has been truncated, see BetaToolSearchToolBm25_20251119 for more details.
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(type: , allowed_callers: nil, cache_control: nil, defer_loading: nil, strict: nil, name: :tool_search_tool_bm25) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119 for more details.
|
|
# File 'lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb', line 44
|
Instance Attribute Details
#allowed_callers ⇒ Array<Symbol, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119::AllowedCaller>?
23 24 |
# File 'lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb', line 23 optional :allowed_callers, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::BetaToolSearchToolBm25_20251119::AllowedCaller] } |
#cache_control ⇒ Anthropic::Models::Beta::BetaCacheControlEphemeral?
Create a cache control breakpoint at this content block.
30 |
# File 'lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb', line 30 optional :cache_control, -> { Anthropic::Beta::BetaCacheControlEphemeral }, nil?: true |
#defer_loading ⇒ Boolean?
If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
37 |
# File 'lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb', line 37 optional :defer_loading, Anthropic::Internal::Type::Boolean |
#name ⇒ Symbol, :tool_search_tool_bm25
Name of the tool.
This is how the tool will be called by the model and in tool_use blocks.
13 |
# File 'lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb', line 13 required :name, const: :tool_search_tool_bm25 |
#strict ⇒ Boolean?
42 |
# File 'lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb', line 42 optional :strict, Anthropic::Internal::Type::Boolean |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaToolSearchToolBm25_20251119::Type
18 |
# File 'lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb', line 18 required :type, enum: -> { Anthropic::Beta::BetaToolSearchToolBm25_20251119::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/beta_tool_search_tool_bm25_20251119.rb', line 67
|