Module: Anthropic::Models::Beta::BetaToolTextEditor20250429::AllowedCaller

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

Constant Summary collapse

DIRECT =
:direct
CODE_EXECUTION_20250825 =
:code_execution_20250825

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

Instance Method Details

#initialize(allowed_callers: nil, cache_control: nil, defer_loading: nil, input_examples: nil, strict: nil, name: :str_replace_based_edit_tool, type: :text_editor_20250429) ⇒ void

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

Parameters:

  • allowed_callers (Array<Symbol, Anthropic::Models::Beta::BetaToolTextEditor20250429::AllowedCaller>) (defaults to: nil)
  • cache_control (Anthropic::Models::Beta::BetaCacheControlEphemeral, nil) (defaults to: nil)

    Create a cache control breakpoint at this content block.

  • defer_loading (Boolean) (defaults to: nil)

    If true, tool will not be included in initial system prompt. Only loaded when re

  • input_examples (Array<Hash{Symbol=>Object}>) (defaults to: nil)
  • strict (Boolean) (defaults to: nil)
  • name (Symbol, :str_replace_based_edit_tool) (defaults to: :str_replace_based_edit_tool)

    Name of the tool.

  • type (Symbol, :text_editor_20250429) (defaults to: :text_editor_20250429)


68
69
70
71
72
73
74
75
76
# File 'lib/anthropic/models/beta/beta_tool_text_editor_20250429.rb', line 68

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

  DIRECT = :direct
  CODE_EXECUTION_20250825 = :code_execution_20250825

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