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

    • shellTool

      public ShellToolAgentHook.Builder shellTool(ShellTool shellTool)
      Set the ShellTool instance.
      Parameters:
      shellTool - the ShellTool to use
      Returns:
      this builder instance
    • build

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