Module: Anthropic::Models::Beta::BetaToolComputerUse20241022::AllowedCaller

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/beta_tool_computer_use_20241022.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(display_height_px: , display_width_px: , allowed_callers: nil, cache_control: nil, defer_loading: nil, display_number: nil, input_examples: nil, strict: nil, name: :computer, type: :computer_20241022) ⇒ void

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

Parameters:

  • display_height_px (Integer) (defaults to: )

    The height of the display in pixels.

  • display_width_px (Integer) (defaults to: )

    The width of the display in pixels.

  • allowed_callers (Array<Symbol, Anthropic::Models::Beta::BetaToolComputerUse20241022::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

  • display_number (Integer, nil) (defaults to: nil)

    The X11 display number (e.g. 0, 1) for the display.

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

    Name of the tool.

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


92
93
94
95
96
97
98
99
100
# File 'lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb', line 92

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

  DIRECT = :direct
  CODE_EXECUTION_20250825 = :code_execution_20250825

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