n8n
Version:
n8n Workflow Automation Tool
17 lines (16 loc) • 938 B
TypeScript
import type { User } from '@n8n/db';
import z from 'zod';
import type { ExecutionService } from '../../../executions/execution.service';
import type { Telemetry } from '../../../telemetry';
import type { WorkflowFinderService } from '../../../workflows/workflow-finder.service';
import type { ToolDefinition } from '../mcp.types';
declare const inputSchema: {
workflowId: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodArray<z.ZodEnum<["canceled", "crashed", "error", "new", "running", "success", "unknown", "waiting"]>, "many">>;
startedAfter: z.ZodOptional<z.ZodString>;
startedBefore: z.ZodOptional<z.ZodString>;
limit: z.ZodOptional<z.ZodNumber>;
lastId: z.ZodOptional<z.ZodString>;
};
export declare const createSearchExecutionsTool: (user: User, executionService: ExecutionService, workflowFinderService: WorkflowFinderService, telemetry: Telemetry) => ToolDefinition<typeof inputSchema>;
export {};