Module: Anthropic::Models::WebFetchTool20260209::AllowedCaller

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/web_fetch_tool_20260209.rb

Constant Summary collapse

DIRECT =
:direct
CODE_EXECUTION_20250825 =
:code_execution_20250825
CODE_EXECUTION_20260120 =
:code_execution_20260120

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

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

.valuesArray<Symbol>



# File 'lib/anthropic/models/web_fetch_tool_20260209.rb', line 109


Instance Method Details

#initialize(allowed_callers: nil, allowed_domains: nil, blocked_domains: nil, cache_control: nil, citations: nil, defer_loading: nil, max_content_tokens: nil, max_uses: nil, strict: nil, name: :web_fetch, type: :web_fetch_20260209) ⇒ void

Some parameter documentations has been truncated, see Anthropic::Models::WebFetchTool20260209 for more details.



102
103
104
105
106
107
108
109
110
111
# File 'lib/anthropic/models/web_fetch_tool_20260209.rb', line 102

module AllowedCaller
  extend Anthropic::Internal::Type::Enum

  DIRECT = :direct
  CODE_EXECUTION_20250825 = :code_execution_20250825
  CODE_EXECUTION_20260120 = :code_execution_20260120

  # @!method self.values
  #   @return [Array<Symbol>]
end