Class BetaMemoryTool20250818ViewCommand
-
- All Implemented Interfaces:
public final class BetaMemoryTool20250818ViewCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaMemoryTool20250818ViewCommand.BuilderA builder for BetaMemoryTool20250818ViewCommand.
-
Method Summary
Modifier and Type Method Description final JsonValue_command()Command type identifierExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("view")final Stringpath()Path to directory or file to view final Optional<List<Long>>viewRange()Optional line range for viewing specific lines final JsonField<String>_path()Returns the raw JSON value of path. final JsonField<List<Long>>_viewRange()Returns the raw JSON value of viewRange. final Map<String, JsonValue>_additionalProperties()final BetaMemoryTool20250818ViewCommand.BuildertoBuilder()final BetaMemoryTool20250818ViewCommandvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaMemoryTool20250818ViewCommand.Builderbuilder()Returns a mutable builder for constructing an instance of BetaMemoryTool20250818ViewCommand. -
-
Method Detail
-
_command
final JsonValue _command()
Command type identifier
Expected to always return the following:
JsonValue.from("view")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, 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 BetaMemoryTool20250818ViewCommand.Builder toBuilder()
-
validate
final BetaMemoryTool20250818ViewCommand 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 BetaMemoryTool20250818ViewCommand.Builder builder()
Returns a mutable builder for constructing an instance of BetaMemoryTool20250818ViewCommand.
The following fields are required:
.path()
-
-
-
-