n8n
Version:
n8n Workflow Automation Tool
14 lines (13 loc) • 570 B
TypeScript
import type { User } from '@n8n/db';
import z from 'zod';
import type { NodeTypes } from '../../../../node-types';
import type { Telemetry } from '../../../../telemetry';
import type { ToolDefinition } from '../../mcp.types';
export type ValidateWorkflowCodeToolOptions = {
canvasGroupsEnabled?: boolean;
};
declare const inputSchema: {
code: z.ZodString;
};
export declare const createValidateWorkflowCodeTool: (user: User, telemetry: Telemetry, nodeTypes: NodeTypes, options?: ValidateWorkflowCodeToolOptions) => ToolDefinition<typeof inputSchema>;
export {};