Fix MCP schema validation for Cursor Desktop compatibility
- Add additionalProperties: true to workflow nodes schema in n8n_update_full_workflow tool - Resolves 'additional properties not allowed' errors in Cursor Desktop - Improves MCP tool reliability for workflow management operations
This commit is contained in:
@@ -140,7 +140,11 @@ export const n8nManagementTools: ToolDefinition[] = [
|
|||||||
},
|
},
|
||||||
nodes: {
|
nodes: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
description: 'Complete array of workflow nodes (required if modifying workflow structure)'
|
description: 'Complete array of workflow nodes (required if modifying workflow structure)',
|
||||||
|
items: {
|
||||||
|
type: 'object',
|
||||||
|
additionalProperties: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
connections: {
|
connections: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
|||||||
Reference in New Issue
Block a user