Class ExecuteTools

java.lang.Object
org.bsc.langgraph4j.agentexecutor.actions.ExecuteTools
All Implemented Interfaces:
NodeAction<AgentExecutor.State>

public class ExecuteTools extends Object implements NodeAction<AgentExecutor.State>
The ExecuteTools class implements the NodeAction interface for handling actions related to executing tools within an agent's context.
  • Constructor Details

    • ExecuteTools

      public ExecuteTools(@NonNull @NonNull Agent agent, @NonNull @NonNull ToolNode toolNode)
      Constructs an ExecuteTools instance with the specified agent and tool node.
      Parameters:
      agent - the agent to be associated with this execution tool, must not be null
      toolNode - the tool node to be executed, must not be null
  • Method Details