Interface for the input parameters of the DynamicTool class.

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

Hierarchy (view full)

Properties

description: string
func: ((input: string, runManager?: CallbackManagerForToolRun, config?: RunnableConfig) => Promise<string>)
name: string
callbacks?: Callbacks
metadata?: Record<string, unknown>
returnDirect?: boolean
tags?: string[]
verbose?: boolean