Class: Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401ReadInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsAgentToolset20260401ReadInput
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_read_input.rb,
sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_read_input.rbs
Instance Attribute Summary collapse
-
#file_path ⇒ String
Path of the file to read.
-
#view_range ⇒ Array<Integer>?
Optional
[start_line, end_line]1-indexed inclusive range.
Instance Method Summary collapse
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 ⇒ Object
16 |
# File 'sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_read_input.rbs', line 16
def initialize: (
|
Instance Attribute Details
#file_path ⇒ String
Path of the file to read.
11 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_read_input.rb', line 11 required :file_path, String |
#view_range ⇒ Array<Integer>?
Optional [start_line, end_line] 1-indexed inclusive range. When omitted the
entire file is returned. end_line of 0 or negative means "to end of file".
18 |
# File 'lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_read_input.rb', line 18 optional :view_range, Anthropic::Internal::Type::ArrayOf[Integer] |
Instance Method Details
#to_hash ⇒ { file_path: String, view_range: ::Array[Integer] }
21 |
# File 'sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_read_input.rbs', line 21
def to_hash: -> { file_path: String, view_range: ::Array[Integer] }
|