Interface for the input parameters of the DynamicTool class.

interface DynamicToolInput {
    description: string;
    func: ((input, runManager?, config?) => Promise<string>);
    name: string;
    callbacks?: CallbackManager | (BaseCallbackHandlerMethodsClass | BaseCallbackHandler)[];
    metadata?: Record<string, unknown>;
    returnDirect?: boolean;
    tags?: string[];
    verbose?: boolean;
}

Hierarchy (view full)

Properties

description: string
func: ((input, runManager?, config?) => Promise<string>)

Type declaration

name: string
callbacks?: CallbackManager | (BaseCallbackHandlerMethodsClass | BaseCallbackHandler)[]
metadata?: Record<string, unknown>
returnDirect?: boolean
tags?: string[]
verbose?: boolean

Generated using TypeDoc