fix: fix tool count in diagnostic test and rename n8n_create_data_table to n8n_create_datatable

- Update diagnostic test to expect 14 management tools and 21 total (was 13/20)
- Rename MCP tool from n8n_create_data_table to n8n_create_datatable to match
  n8n's own node naming convention (n8n-nodes-base.datatable)

Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en

https://claude.ai/code/session_01N9LRZy1t5jVisF1p7RXeR7
This commit is contained in:
Claude
2026-03-20 19:23:05 +00:00
parent 4a9e3c7ec0
commit a5c20de3c2
8 changed files with 15 additions and 15 deletions

View File

@@ -542,8 +542,8 @@ describe('Parameter Validation', () => {
await expect(server.testExecuteTool('n8n_test_workflow', {}))
.rejects.toThrow('Missing required parameters for n8n_test_workflow: workflowId');
await expect(server.testExecuteTool('n8n_create_data_table', {}))
.rejects.toThrow('Missing required parameters for n8n_create_data_table: name');
await expect(server.testExecuteTool('n8n_create_datatable', {}))
.rejects.toThrow('Missing required parameters for n8n_create_datatable: name');
for (const tool of n8nToolsWithRequiredParams) {
await expect(server.testExecuteTool(tool.name, tool.args))