Class ShellTool.Builder
java.lang.Object
com.alibaba.cloud.ai.graph.agent.tools.ShellTool.Builder
- Enclosing class:
- ShellTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ai.tool.ToolCallbackbuild()withCommandTimeout(long commandTimeout) withDescription(String description) withEnvironment(Map<String, String> environment) withMaxOutputLines(int maxOutputLines) withShellCommand(List<String> shellCommand) withShutdownCommands(List<String> shutdownCommands) withStartupCommands(List<String> startupCommands)
-
Constructor Details
-
Builder
-
-
Method Details
-
withName
-
withDescription
-
withStartupCommands
-
withShutdownCommands
-
withCommandTimeout
-
withMaxOutputLines
-
withShellCommand
-
withEnvironment
-
build
public org.springframework.ai.tool.ToolCallback build()
-