Class: Anthropic::Models::Beta::BetaBrowserToolset20260801
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaBrowserToolset20260801
- Defined in:
- lib/anthropic/models/beta/beta_browser_toolset_20260801.rb,
sig/anthropic/models/beta/beta_browser_toolset_20260801.rbs
Defined Under Namespace
Modules: AllowedCaller
Instance Attribute Summary collapse
- #allowed_callers ⇒ Array<Symbol, Anthropic::Models::Beta::BetaBrowserToolset20260801::AllowedCaller>?
-
#cache_control ⇒ Anthropic::Models::Beta::BetaCacheControlEphemeral?
Create a cache control breakpoint at this content block.
-
#configs ⇒ Anthropic::Models::Beta::BetaBrowserToolsetConfigs?
Per-member configuration for
browser_toolset_20260801: one optional field per member tool, keyed by the member name — the same name the member'stool_useblocks carry. - #type ⇒ Symbol, :browser_toolset_20260801
Instance Method Summary collapse
-
#initialize(allowed_callers: nil, cache_control: nil, configs: nil, type: :browser_toolset_20260801) ⇒ Object
constructor
The browser toolset: a single
tools[]entry (carrying noname) that declares the browser tool family. - #to_hash ⇒ {
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(allowed_callers: nil, cache_control: nil, configs: nil, type: :browser_toolset_20260801) ⇒ Object
The browser toolset: a single tools[] entry (carrying no name) that declares
the browser tool family. The model is served the family's tool with any members
disabled via configs removed from its schema.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaBrowserToolset20260801 for more details.
|
|
# File 'lib/anthropic/models/beta/beta_browser_toolset_20260801.rb', line 34
|
Instance Attribute Details
#allowed_callers ⇒ Array<Symbol, Anthropic::Models::Beta::BetaBrowserToolset20260801::AllowedCaller>?
15 16 |
# File 'lib/anthropic/models/beta/beta_browser_toolset_20260801.rb', line 15 optional :allowed_callers, -> { Anthropic::Internal::Type::ArrayOf[enum: Anthropic::Beta::BetaBrowserToolset20260801::AllowedCaller] } |
#cache_control ⇒ Anthropic::Models::Beta::BetaCacheControlEphemeral?
Create a cache control breakpoint at this content block.
22 |
# File 'lib/anthropic/models/beta/beta_browser_toolset_20260801.rb', line 22 optional :cache_control, -> { Anthropic::Beta::BetaCacheControlEphemeral }, nil?: true |
#configs ⇒ Anthropic::Models::Beta::BetaBrowserToolsetConfigs?
Per-member configuration for browser_toolset_20260801: one optional field per
member tool, keyed by the member name — the same name the member's tool_use
blocks carry. Every member is an accepted key, and a member's defaults apply
wherever its key is absent. Unknown keys are rejected: the field set is this
toolset version's complete member set.
32 |
# File 'lib/anthropic/models/beta/beta_browser_toolset_20260801.rb', line 32 optional :configs, -> { Anthropic::Beta::BetaBrowserToolsetConfigs }, nil?: true |
#type ⇒ Symbol, :browser_toolset_20260801
10 |
# File 'lib/anthropic/models/beta/beta_browser_toolset_20260801.rb', line 10 required :type, const: :browser_toolset_20260801 |
Instance Method Details
#to_hash ⇒ {
34 |
# File 'sig/anthropic/models/beta/beta_browser_toolset_20260801.rbs', line 34
def to_hash: -> {
|