Class ReadFileTool.ReadFileRequest

java.lang.Object
com.alibaba.cloud.ai.graph.agent.extension.tools.filesystem.ReadFileTool.ReadFileRequest
Enclosing class:
ReadFileTool

public static class ReadFileTool.ReadFileRequest extends Object
Request structure for reading a file.
  • Field Details

    • filePath

      @JsonPropertyDescription("The absolute path of the file to read") public String filePath
    • offset

      @JsonPropertyDescription("Line offset to start reading from (default: 0)") public Integer offset
    • limit

      @JsonPropertyDescription("Maximum number of lines to read (default: 500)") public Integer limit
  • Constructor Details

    • ReadFileRequest

      public ReadFileRequest()
    • ReadFileRequest

      public ReadFileRequest(String filePath, Integer offset, Integer limit)