Wrap in a DynamicTool instead.
Class that extends DynamicTool for creating tools that can run chains.
Takes an instance of a class that extends BaseChain as a parameter in
its constructor and uses it to run the chain when its 'func' method is
called.
Deprecated
Wrap in a DynamicTool instead. Class that extends DynamicTool for creating tools that can run chains. Takes an instance of a class that extends BaseChain as a parameter in its constructor and uses it to run the chain when its 'func' method is called.