Class: Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401EditInput

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_edit_input.rb

Instance Attribute Summary collapse

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

#file_pathString

Path of the file to edit.

Returns:

  • (String)


11
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_edit_input.rb', line 11

required :file_path, String

#new_stringString

Replacement text.

Returns:

  • (String)


17
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_edit_input.rb', line 17

required :new_string, String

#old_stringString

Substring to find and replace.

Returns:

  • (String)


23
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_edit_input.rb', line 23

required :old_string, String

#replace_allBoolean?

When true, replace every occurrence of ‘old_string` instead of requiring a unique match.

Returns:



30
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_edit_input.rb', line 30

optional :replace_all, Anthropic::Internal::Type::Boolean