n8n
Version:
n8n Workflow Automation Tool
13 lines (12 loc) • 751 B
TypeScript
import type { User } from '@n8n/db';
import z from 'zod';
import type { ToolDefinition } from '../../mcp.types';
import type { CollaborationService } from '../../../../collaboration/collaboration.service';
import type { Telemetry } from '../../../../telemetry';
import type { WorkflowFinderService } from '../../../../workflows/workflow-finder.service';
import type { WorkflowService } from '../../../../workflows/workflow.service';
declare const inputSchema: {
workflowId: z.ZodString;
};
export declare const createArchiveWorkflowTool: (user: User, workflowFinderService: WorkflowFinderService, workflowService: WorkflowService, telemetry: Telemetry, collaborationService: CollaborationService) => ToolDefinition<typeof inputSchema>;
export {};