Class: Anthropic::Models::Beta::BetaToolComputerUse20241022
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaToolComputerUse20241022
- Defined in:
- lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb
Instance Attribute Summary collapse
-
#cache_control ⇒ Anthropic::Models::Beta::BetaCacheControlEphemeral?
Create a cache control breakpoint at this content block.
-
#display_height_px ⇒ Integer
The height of the display in pixels.
-
#display_number ⇒ Integer?
The X11 display number (e.g. 0, 1) for the display.
-
#display_width_px ⇒ Integer
The width of the display in pixels.
-
#name ⇒ Symbol, :computer
Name of the tool.
- #type ⇒ Symbol, :computer_20241022
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Anthropic::Internal::Type::BaseModel
Instance Attribute Details
#cache_control ⇒ Anthropic::Models::Beta::BetaCacheControlEphemeral?
Create a cache control breakpoint at this content block.
36 |
# File 'lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb', line 36 optional :cache_control, -> { Anthropic::Beta::BetaCacheControlEphemeral }, nil?: true |
#display_height_px ⇒ Integer
The height of the display in pixels.
11 |
# File 'lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb', line 11 required :display_height_px, Integer |
#display_number ⇒ Integer?
The X11 display number (e.g. 0, 1) for the display.
42 |
# File 'lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb', line 42 optional :display_number, Integer, nil?: true |
#display_width_px ⇒ Integer
The width of the display in pixels.
17 |
# File 'lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb', line 17 required :display_width_px, Integer |
#name ⇒ Symbol, :computer
Name of the tool.
This is how the tool will be called by the model and in tool_use
blocks.
25 |
# File 'lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb', line 25 required :name, const: :computer |
#type ⇒ Symbol, :computer_20241022
30 |
# File 'lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb', line 30 required :type, const: :computer_20241022 |