mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-02-09 23:03:12 +00:00
feat: add n8n_validate_workflow tool (v2.6.3)
- NEW: n8n_validate_workflow tool to validate workflows from n8n instance by ID - Fetches workflow via API and runs comprehensive validation - Uses existing WorkflowValidator for consistency - Supports all validation profiles and options - Updated start_here tool with new workflow lifecycle info - Updated README with new tool documentation - Updated Claude Project Setup instructions This completes the workflow lifecycle management: discover → build → validate → deploy → execute → monitor 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -202,6 +202,43 @@ export const n8nManagementTools: ToolDefinition[] = [
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'n8n_validate_workflow',
|
||||
description: `Validate a workflow from n8n instance by ID. Fetches the workflow and runs comprehensive validation including node configurations, connections, and expressions. Returns detailed validation report with errors, warnings, and suggestions.`,
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
id: {
|
||||
type: 'string',
|
||||
description: 'Workflow ID to validate'
|
||||
},
|
||||
options: {
|
||||
type: 'object',
|
||||
description: 'Validation options',
|
||||
properties: {
|
||||
validateNodes: {
|
||||
type: 'boolean',
|
||||
description: 'Validate node configurations (default: true)'
|
||||
},
|
||||
validateConnections: {
|
||||
type: 'boolean',
|
||||
description: 'Validate workflow connections (default: true)'
|
||||
},
|
||||
validateExpressions: {
|
||||
type: 'boolean',
|
||||
description: 'Validate n8n expressions (default: true)'
|
||||
},
|
||||
profile: {
|
||||
type: 'string',
|
||||
enum: ['minimal', 'runtime', 'ai-friendly', 'strict'],
|
||||
description: 'Validation profile to use (default: runtime)'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
required: ['id']
|
||||
}
|
||||
},
|
||||
|
||||
// Execution Management Tools
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user