Wrap in a DynamicTool instead. Interface for the input parameters of the ChainTool constructor. Extends the DynamicToolInput interface, replacing the 'func' property with a 'chain' property.

interface ChainToolInput {
    chain: BaseChain<ChainValues, ChainValues>;
}

Hierarchy

  • Omit<Toolkit, "func">
    • ChainToolInput

Properties

Properties

chain: BaseChain<ChainValues, ChainValues>