fix: data tables available on self-hosted too, not just enterprise/cloud

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2026-03-22 22:26:24 +01:00
parent 984a49d4ec
commit 4d4ef64bf6
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ export const n8nManageDatatableDoc: ToolDocumentation = {
'Use dryRun: true to preview update/upsert/delete before applying', 'Use dryRun: true to preview update/upsert/delete before applying',
'Filter supports: eq, neq, like, ilike, gt, gte, lt, lte conditions', 'Filter supports: eq, neq, like, ilike, gt, gte, lt, lte conditions',
'Use returnData: true to get affected rows back from update/upsert/delete', 'Use returnData: true to get affected rows back from update/upsert/delete',
'Requires n8n enterprise or cloud with data tables feature' 'Requires n8n instance with data tables feature enabled'
] ]
}, },
full: { full: {
@@ -97,7 +97,7 @@ export const n8nManageDatatableDoc: ToolDocumentation = {
], ],
pitfalls: [ pitfalls: [
'Requires N8N_API_URL and N8N_API_KEY configured', 'Requires N8N_API_URL and N8N_API_KEY configured',
'Feature only available on n8n enterprise or cloud plans', 'Requires n8n instance with data tables feature enabled (available on cloud, enterprise, and self-hosted)',
'deleteTable permanently deletes all rows — cannot be undone', 'deleteTable permanently deletes all rows — cannot be undone',
'deleteRows requires a filter — cannot delete all rows without one', 'deleteRows requires a filter — cannot delete all rows without one',
'Column types cannot be changed after table creation via API', 'Column types cannot be changed after table creation via API',

View File

@@ -609,7 +609,7 @@ export const n8nManagementTools: ToolDefinition[] = [
}, },
{ {
name: 'n8n_manage_datatable', name: 'n8n_manage_datatable',
description: `Manage n8n data tables and rows. Actions: createTable, listTables, getTable, updateTable, deleteTable, getRows, insertRows, updateRows, upsertRows, deleteRows. Requires n8n enterprise/cloud with data tables feature.`, description: `Manage n8n data tables and rows. Actions: createTable, listTables, getTable, updateTable, deleteTable, getRows, insertRows, updateRows, upsertRows, deleteRows.`,
inputSchema: { inputSchema: {
type: 'object', type: 'object',
properties: { properties: {