n8n
Version:
n8n Workflow Automation Tool
13 lines (12 loc) • 585 B
TypeScript
import type { AuthenticatedRequest } from '@n8n/db';
import type { Request } from 'express';
import type { INode } from 'n8n-workflow';
type McpExecutionMode = 'manual' | 'production';
export declare const getClientInfo: (req: Request | AuthenticatedRequest) => {
name?: string;
version?: string;
} | undefined;
export declare const getToolName: (body: unknown) => string;
export declare const getToolArguments: (body: unknown) => Record<string, unknown>;
export declare const findMcpSupportedTrigger: (nodes: INode[], mode?: McpExecutionMode) => INode | undefined;
export {};