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

public static class GrepTool.GrepRequest extends Object
Request structure for grep search.
  • Field Details

    • pattern

      @JsonPropertyDescription("The text pattern to search for") public String pattern
    • path

      @JsonPropertyDescription("The directory path to search in (default: base path)") public String path
    • glob

      @JsonPropertyDescription("File pattern to filter which files to search (e.g., \'*.java\')") public String glob
    • outputMode

      @JsonPropertyDescription("Output format: \'files_with_matches\', \'content\', or \'count\' (default: \'files_with_matches\')") public String outputMode
  • Constructor Details

    • GrepRequest

      public GrepRequest()
    • GrepRequest

      public GrepRequest(String pattern, String path, String glob, String outputMode)