UNPKG

n8n

Version:

n8n Workflow Automation Tool

14 lines (13 loc) 468 B
import type { BuiltTool } from '@n8n/agents'; export interface ToolRegistryEntry { kind: 'tool' | 'workflow' | 'node'; workflowId?: string; workflowName?: string; triggerType?: string; nodeType?: string; nodeTypeVersion?: number; nodeDisplayName?: string; nodeParameters?: Record<string, unknown>; } export type ToolRegistry = Map<string, ToolRegistryEntry>; export declare function buildToolRegistry(tools: BuiltTool[]): ToolRegistry;