list_ai_tools
Discover and access 263 AI-optimized nodes for workflow automation. Connect any node to an AI Agent's tool port to enhance functionality. Enable community nodes by setting N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true.
Instructions
List 263 AI-optimized nodes. Note: ANY node can be AI tool! Connect any node to AI Agent's tool port. Community nodes need N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp-tools-engine.ts:96-98 (handler)The core handler function for the 'list_ai_tools' MCP tool. It delegates to the NodeRepository's getAIToolNodes() method to retrieve all AI tool nodes from the database.async listAITools(args: any) { return this.repository.getAIToolNodes(); }
- Alias method in NodeRepository that the handler calls, forwarding to getAITools().getAIToolNodes(): any[] { return this.getAITools(); }
- The actual database query implementation that fetches AI tools (nodes where is_ai_tool = 1), maps the results to a clean format with nodeType, displayName, description, and package.getAITools(): any[] { const rows = this.db.prepare(` SELECT node_type, display_name, description, package_name FROM nodes WHERE is_ai_tool = 1 ORDER BY display_name `).all() as any[]; return rows.map(row => ({ nodeType: row.node_type, displayName: row.display_name, description: row.description, package: row.package_name })); }
- scripts/migrate-tool-docs.ts:12-12 (registration)Lists 'list_ai_tools' as a discovery tool in the migration script for tool documentation, indicating it's a registered MCP tool.'list_ai_tools',
- dist/mcp/server.d.ts:41-41 (schema)Type declaration in the main MCP server class, confirming listAITools is part of the server implementation (likely wraps the engine handler).private listAITools;