UNPKG

n8n

Version:

n8n Workflow Automation Tool

48 lines (47 loc) 1.35 kB
import { Tool } from '@n8n/agents'; import { z } from 'zod'; export declare function createRichInteractionTool(platform?: string): Tool<z.ZodObject<{ title: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodString>; components: z.ZodArray<z.ZodObject<Record<string, z.ZodTypeAny>, "strip", z.ZodTypeAny, { [x: string]: any; }, { [x: string]: any; }>, "many">; }, "strip", z.ZodTypeAny, { components: { [x: string]: any; }[]; message?: string | undefined; title?: string | undefined; }, { components: { [x: string]: any; }[]; message?: string | undefined; title?: string | undefined; }>, z.ZodTypeAny, z.ZodObject<{ title: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodString>; components: z.ZodArray<z.ZodObject<Record<string, z.ZodTypeAny>, "strip", z.ZodTypeAny, { [x: string]: any; }, { [x: string]: any; }>, "many">; }, "strip", z.ZodTypeAny, { components: { [x: string]: any; }[]; message?: string | undefined; title?: string | undefined; }, { components: { [x: string]: any; }[]; message?: string | undefined; title?: string | undefined; }>, z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, { [x: string]: any; }, { [x: string]: any; }>>;