@n8n/n8n-nodes-langchain
Version:
16 lines (15 loc) • 1.09 kB
TypeScript
import { type IExecuteFunctions, type ILoadOptionsFunctions, type INodeExecutionData, type INodePropertyOptions, type INodeType, type INodeTypeDescription, type ISupplyDataFunctions, type PrepareMcpRegistryConnectionInput, type PrepareMcpRegistryConnectionResult, type ResolvedMcpRegistryConnection, type SupplyData } from 'n8n-workflow';
export declare class McpRegistryClientTool implements INodeType {
private static registryRuntime;
setRegistryRuntime(runtime: typeof McpRegistryClientTool.registryRuntime): void;
static getConnection(node: ReturnType<IExecuteFunctions['getNode']>, selector?: string): ResolvedMcpRegistryConnection;
static prepareConnection(input: PrepareMcpRegistryConnectionInput): PrepareMcpRegistryConnectionResult;
description: INodeTypeDescription;
methods: {
loadOptions: {
getTools(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
};
};
supplyData(this: ISupplyDataFunctions, itemIndex: number): Promise<SupplyData>;
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
}