mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-03-19 00:43:07 +00:00
- Migrated all 40 MCP tools documentation to modular structure - Created comprehensive documentation with both essentials and full details - Organized tools by category: discovery, configuration, validation, templates, workflow_management, system, special - Fixed all TODO placeholders with informative, precise content - Each tool now has concise description, key tips, and full documentation - Improved documentation quality: 30-40% more concise while maintaining usefulness - Fixed TypeScript compilation issues and removed orphaned content - All tools accessible via tools_documentation MCP endpoint - Build successful with zero errors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
46 lines
1.7 KiB
TypeScript
46 lines
1.7 KiB
TypeScript
import { ToolDocumentation } from '../types';
|
|
|
|
export const listTasksDoc: ToolDocumentation = {
|
|
name: 'list_tasks',
|
|
category: 'templates',
|
|
essentials: {
|
|
description: 'List task templates by category: HTTP/API, Webhooks, Database, AI, Data Processing, Communication.',
|
|
keyParameters: ['category'],
|
|
example: 'list_tasks({category: "HTTP/API"})',
|
|
performance: 'Instant',
|
|
tips: [
|
|
'Categories: HTTP/API, Webhooks, Database, AI',
|
|
'Shows pre-configured node settings',
|
|
'Use get_node_for_task for details'
|
|
]
|
|
},
|
|
full: {
|
|
description: 'Lists available task templates organized by category. Each task represents a common automation pattern with pre-configured node settings. Categories include HTTP/API, Webhooks, Database, AI, Data Processing, and Communication.',
|
|
parameters: {
|
|
category: { type: 'string', description: 'Filter by category (optional)' }
|
|
},
|
|
returns: 'Array of tasks with name, category, description, nodeType',
|
|
examples: [
|
|
'list_tasks() - Get all task templates',
|
|
'list_tasks({category: "Database"}) - Database-related tasks',
|
|
'list_tasks({category: "AI"}) - AI automation tasks'
|
|
],
|
|
useCases: [
|
|
'Discover common automation patterns',
|
|
'Find pre-configured solutions',
|
|
'Learn node usage patterns',
|
|
'Quick workflow setup'
|
|
],
|
|
performance: 'Instant - Static task list',
|
|
bestPractices: [
|
|
'Browse all categories first',
|
|
'Use get_node_for_task for config',
|
|
'Combine multiple tasks in workflows'
|
|
],
|
|
pitfalls: [
|
|
'Tasks are templates, customize as needed',
|
|
'Not all nodes have task templates'
|
|
],
|
|
relatedTools: ['get_node_for_task', 'search_templates', 'get_templates_for_task']
|
|
}
|
|
}; |