• Parameters

    • retriever: BaseRetrieverInterface<Record<string, any>>
    • input: Omit<DynamicStructuredToolInput<ZodObjectAny, any>, "schema" | "func">

    Returns DynamicStructuredTool<ZodObject<{
        input: ZodString;
    }, "strip", ZodTypeAny, {
        input: string;
    }, {
        input: string;
    }>, {
        input: string;
    }, {
        input: string;
    }>

    Use "langchain/tools/retriever" instead.