Class GlobSearchTool.Builder
java.lang.Object
com.alibaba.cloud.ai.graph.agent.tools.GlobSearchTool.Builder
- Enclosing class:
- GlobSearchTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ai.tool.ToolCallbackbuild()maxResults(int maxResults) Maximum number of file paths to return (default 2000).withDescription(String description)
-
Constructor Details
-
Builder
-
-
Method Details
-
withName
-
withDescription
-
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()
-