Class ShellToolAgentHook.Builder

java.lang.Object
com.alibaba.cloud.ai.graph.agent.hook.shelltool.ShellToolAgentHook.Builder
Enclosing class:
ShellToolAgentHook

public static class ShellToolAgentHook.Builder extends Object
Builder class for constructing ShellToolAgentHook instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • shellTool2

      public ShellToolAgentHook.Builder shellTool2(ShellTool2 shellTool2)
      Set the ShellTool2 instance.
      Parameters:
      shellTool2 - the ShellTool2 to use
      Returns:
      this builder instance
    • shellToolName

      public ShellToolAgentHook.Builder shellToolName(String shellToolName)
      Set the shell tool name.
      Parameters:
      shellToolName - the name of the shell tool
      Returns:
      this builder instance
    • build

      public ShellToolAgentHook build()
      Build the ShellToolAgentHook instance.
      Returns:
      a new ShellToolAgentHook instance