Class BetaManagedAgentsAgentToolset20260401ReadInput
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentToolset20260401ReadInputInput payload for the
readtool. Reads file contents relative to the runner's working directory (or absolute when the runner permits).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentToolset20260401ReadInput.BuilderA builder for BetaManagedAgentsAgentToolset20260401ReadInput.
-
Method Summary
Modifier and Type Method Description final StringfilePath()Path of the file to read. final Optional<List<Long>>viewRange()Optional [start_line, end_line]1-indexed inclusive range.final JsonField<String>_filePath()Returns the raw JSON value of filePath. final JsonField<List<Long>>_viewRange()Returns the raw JSON value of viewRange. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgentToolset20260401ReadInput.BuildertoBuilder()final BetaManagedAgentsAgentToolset20260401ReadInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentToolset20260401ReadInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolset20260401ReadInput. -
-
Method Detail
-
viewRange
final Optional<List<Long>> viewRange()
Optional
[start_line, end_line]1-indexed inclusive range. When omitted the entire file is returned.end_lineof 0 or negative means "to end of file".
-
_filePath
final JsonField<String> _filePath()
Returns the raw JSON value of filePath.
Unlike filePath, this method doesn't throw if the JSON field has an unexpected type.
-
_viewRange
final JsonField<List<Long>> _viewRange()
Returns the raw JSON value of viewRange.
Unlike viewRange, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgentToolset20260401ReadInput.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentToolset20260401ReadInput validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsAgentToolset20260401ReadInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolset20260401ReadInput.
The following fields are required:
.filePath()
-
-
-
-