Class: Anthropic::Models::ToolTextEditor20250429
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::ToolTextEditor20250429
- Defined in:
- lib/anthropic/models/tool_text_editor_20250429.rb
Instance Attribute Summary collapse
-
#cache_control ⇒ Anthropic::Models::CacheControlEphemeral?
Create a cache control breakpoint at this content block.
-
#name ⇒ Symbol, :str_replace_based_edit_tool
Name of the tool.
- #type ⇒ Symbol, :text_editor_20250429
Instance Method Summary collapse
-
#initialize(cache_control: nil, name: :str_replace_based_edit_tool, type: :text_editor_20250429) ⇒ Object
constructor
Some parameter documentations has been truncated, see ToolTextEditor20250429 for more details.
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(cache_control: nil, name: :str_replace_based_edit_tool, type: :text_editor_20250429) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::ToolTextEditor20250429 for more details.
|
# File 'lib/anthropic/models/tool_text_editor_20250429.rb', line 25
|
Instance Attribute Details
#cache_control ⇒ Anthropic::Models::CacheControlEphemeral?
Create a cache control breakpoint at this content block.
23 |
# File 'lib/anthropic/models/tool_text_editor_20250429.rb', line 23 optional :cache_control, -> { Anthropic::CacheControlEphemeral }, nil?: true |
#name ⇒ Symbol, :str_replace_based_edit_tool
Name of the tool.
This is how the tool will be called by the model and in ‘tool_use` blocks.
12 |
# File 'lib/anthropic/models/tool_text_editor_20250429.rb', line 12 required :name, const: :str_replace_based_edit_tool |
#type ⇒ Symbol, :text_editor_20250429
17 |
# File 'lib/anthropic/models/tool_text_editor_20250429.rb', line 17 required :type, const: :text_editor_20250429 |