Class GlobSearchTool.Builder

java.lang.Object
com.alibaba.cloud.ai.graph.agent.tools.GlobSearchTool.Builder
Enclosing class:
GlobSearchTool

public static class GlobSearchTool.Builder extends Object
  • Constructor Details

    • Builder

      public Builder(String rootPath)
  • Method Details

    • withName

      public GlobSearchTool.Builder withName(String name)
    • withDescription

      public GlobSearchTool.Builder withDescription(String description)
    • maxResults

      public GlobSearchTool.Builder maxResults(int maxResults)
      Maximum number of file paths to return (default 2000). Prevents huge results that can break JSON serialization or memory.
    • build

      public org.springframework.ai.tool.ToolCallback build()