n8n-atom-mcp 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/.env.example +220 -0
  2. package/LICENSE +21 -0
  3. package/README.md +78 -0
  4. package/data/nodes.db +0 -0
  5. package/dist/community/community-node-fetcher.d.ts +118 -0
  6. package/dist/community/community-node-fetcher.d.ts.map +1 -0
  7. package/dist/community/community-node-fetcher.js +239 -0
  8. package/dist/community/community-node-fetcher.js.map +1 -0
  9. package/dist/community/community-node-service.d.ts +42 -0
  10. package/dist/community/community-node-service.d.ts.map +1 -0
  11. package/dist/community/community-node-service.js +210 -0
  12. package/dist/community/community-node-service.js.map +1 -0
  13. package/dist/community/documentation-batch-processor.d.ts +33 -0
  14. package/dist/community/documentation-batch-processor.d.ts.map +1 -0
  15. package/dist/community/documentation-batch-processor.js +156 -0
  16. package/dist/community/documentation-batch-processor.js.map +1 -0
  17. package/dist/community/documentation-generator.d.ts +65 -0
  18. package/dist/community/documentation-generator.d.ts.map +1 -0
  19. package/dist/community/documentation-generator.js +220 -0
  20. package/dist/community/documentation-generator.js.map +1 -0
  21. package/dist/community/index.d.ts +5 -0
  22. package/dist/community/index.d.ts.map +1 -0
  23. package/dist/community/index.js +14 -0
  24. package/dist/community/index.js.map +1 -0
  25. package/dist/config/n8n-api.d.ts +15 -0
  26. package/dist/config/n8n-api.d.ts.map +1 -0
  27. package/dist/config/n8n-api.js +53 -0
  28. package/dist/config/n8n-api.js.map +1 -0
  29. package/dist/constants/type-structures.d.ts +123 -0
  30. package/dist/constants/type-structures.d.ts.map +1 -0
  31. package/dist/constants/type-structures.js +654 -0
  32. package/dist/constants/type-structures.js.map +1 -0
  33. package/dist/database/database-adapter.d.ts +33 -0
  34. package/dist/database/database-adapter.d.ts.map +1 -0
  35. package/dist/database/database-adapter.js +420 -0
  36. package/dist/database/database-adapter.js.map +1 -0
  37. package/dist/database/node-repository.d.ts +152 -0
  38. package/dist/database/node-repository.d.ts.map +1 -0
  39. package/dist/database/node-repository.js +791 -0
  40. package/dist/database/node-repository.js.map +1 -0
  41. package/dist/errors/validation-service-error.d.ts +10 -0
  42. package/dist/errors/validation-service-error.d.ts.map +1 -0
  43. package/dist/errors/validation-service-error.js +26 -0
  44. package/dist/errors/validation-service-error.js.map +1 -0
  45. package/dist/http-server-single-session.d.ts +52 -0
  46. package/dist/http-server-single-session.d.ts.map +1 -0
  47. package/dist/http-server-single-session.js +1180 -0
  48. package/dist/http-server-single-session.js.map +1 -0
  49. package/dist/http-server.d.ts +9 -0
  50. package/dist/http-server.d.ts.map +1 -0
  51. package/dist/http-server.js +481 -0
  52. package/dist/http-server.js.map +1 -0
  53. package/dist/index.d.ts +11 -0
  54. package/dist/index.d.ts.map +1 -0
  55. package/dist/index.js +20 -0
  56. package/dist/index.js.map +1 -0
  57. package/dist/loaders/node-loader.d.ts +11 -0
  58. package/dist/loaders/node-loader.d.ts.map +1 -0
  59. package/dist/loaders/node-loader.js +79 -0
  60. package/dist/loaders/node-loader.js.map +1 -0
  61. package/dist/mappers/docs-mapper.d.ts +7 -0
  62. package/dist/mappers/docs-mapper.d.ts.map +1 -0
  63. package/dist/mappers/docs-mapper.js +106 -0
  64. package/dist/mappers/docs-mapper.js.map +1 -0
  65. package/dist/mcp/handlers-n8n-manager.d.ts +58 -0
  66. package/dist/mcp/handlers-n8n-manager.d.ts.map +1 -0
  67. package/dist/mcp/handlers-n8n-manager.js +3299 -0
  68. package/dist/mcp/handlers-n8n-manager.js.map +1 -0
  69. package/dist/mcp/handlers-workflow-diff.d.ts +5 -0
  70. package/dist/mcp/handlers-workflow-diff.d.ts.map +1 -0
  71. package/dist/mcp/handlers-workflow-diff.js +461 -0
  72. package/dist/mcp/handlers-workflow-diff.js.map +1 -0
  73. package/dist/mcp/index.d.ts +3 -0
  74. package/dist/mcp/index.d.ts.map +1 -0
  75. package/dist/mcp/index.js +228 -0
  76. package/dist/mcp/index.js.map +1 -0
  77. package/dist/mcp/server.d.ts +82 -0
  78. package/dist/mcp/server.d.ts.map +1 -0
  79. package/dist/mcp/server.js +3006 -0
  80. package/dist/mcp/server.js.map +1 -0
  81. package/dist/mcp/stdio-wrapper.d.ts +3 -0
  82. package/dist/mcp/stdio-wrapper.d.ts.map +1 -0
  83. package/dist/mcp/stdio-wrapper.js +81 -0
  84. package/dist/mcp/stdio-wrapper.js.map +1 -0
  85. package/dist/mcp/tool-docs/configuration/get-node.d.ts +3 -0
  86. package/dist/mcp/tool-docs/configuration/get-node.d.ts.map +1 -0
  87. package/dist/mcp/tool-docs/configuration/get-node.js +90 -0
  88. package/dist/mcp/tool-docs/configuration/get-node.js.map +1 -0
  89. package/dist/mcp/tool-docs/configuration/index.d.ts +2 -0
  90. package/dist/mcp/tool-docs/configuration/index.d.ts.map +1 -0
  91. package/dist/mcp/tool-docs/configuration/index.js +6 -0
  92. package/dist/mcp/tool-docs/configuration/index.js.map +1 -0
  93. package/dist/mcp/tool-docs/discovery/index.d.ts +2 -0
  94. package/dist/mcp/tool-docs/discovery/index.d.ts.map +1 -0
  95. package/dist/mcp/tool-docs/discovery/index.js +6 -0
  96. package/dist/mcp/tool-docs/discovery/index.js.map +1 -0
  97. package/dist/mcp/tool-docs/discovery/search-nodes.d.ts +3 -0
  98. package/dist/mcp/tool-docs/discovery/search-nodes.d.ts.map +1 -0
  99. package/dist/mcp/tool-docs/discovery/search-nodes.js +70 -0
  100. package/dist/mcp/tool-docs/discovery/search-nodes.js.map +1 -0
  101. package/dist/mcp/tool-docs/guides/ai-agents-guide.d.ts +3 -0
  102. package/dist/mcp/tool-docs/guides/ai-agents-guide.d.ts.map +1 -0
  103. package/dist/mcp/tool-docs/guides/ai-agents-guide.js +739 -0
  104. package/dist/mcp/tool-docs/guides/ai-agents-guide.js.map +1 -0
  105. package/dist/mcp/tool-docs/guides/index.d.ts +2 -0
  106. package/dist/mcp/tool-docs/guides/index.d.ts.map +1 -0
  107. package/dist/mcp/tool-docs/guides/index.js +6 -0
  108. package/dist/mcp/tool-docs/guides/index.js.map +1 -0
  109. package/dist/mcp/tool-docs/index.d.ts +4 -0
  110. package/dist/mcp/tool-docs/index.d.ts.map +1 -0
  111. package/dist/mcp/tool-docs/index.js +34 -0
  112. package/dist/mcp/tool-docs/index.js.map +1 -0
  113. package/dist/mcp/tool-docs/system/index.d.ts +3 -0
  114. package/dist/mcp/tool-docs/system/index.d.ts.map +1 -0
  115. package/dist/mcp/tool-docs/system/index.js +8 -0
  116. package/dist/mcp/tool-docs/system/index.js.map +1 -0
  117. package/dist/mcp/tool-docs/system/n8n-diagnostic.d.ts +3 -0
  118. package/dist/mcp/tool-docs/system/n8n-diagnostic.d.ts.map +1 -0
  119. package/dist/mcp/tool-docs/system/n8n-diagnostic.js +99 -0
  120. package/dist/mcp/tool-docs/system/n8n-diagnostic.js.map +1 -0
  121. package/dist/mcp/tool-docs/system/n8n-health-check.d.ts +3 -0
  122. package/dist/mcp/tool-docs/system/n8n-health-check.d.ts.map +1 -0
  123. package/dist/mcp/tool-docs/system/n8n-health-check.js +102 -0
  124. package/dist/mcp/tool-docs/system/n8n-health-check.js.map +1 -0
  125. package/dist/mcp/tool-docs/system/n8n-list-available-tools.d.ts +3 -0
  126. package/dist/mcp/tool-docs/system/n8n-list-available-tools.d.ts.map +1 -0
  127. package/dist/mcp/tool-docs/system/n8n-list-available-tools.js +75 -0
  128. package/dist/mcp/tool-docs/system/n8n-list-available-tools.js.map +1 -0
  129. package/dist/mcp/tool-docs/system/tools-documentation.d.ts +3 -0
  130. package/dist/mcp/tool-docs/system/tools-documentation.d.ts.map +1 -0
  131. package/dist/mcp/tool-docs/system/tools-documentation.js +65 -0
  132. package/dist/mcp/tool-docs/system/tools-documentation.js.map +1 -0
  133. package/dist/mcp/tool-docs/templates/get-template.d.ts +3 -0
  134. package/dist/mcp/tool-docs/templates/get-template.d.ts.map +1 -0
  135. package/dist/mcp/tool-docs/templates/get-template.js +84 -0
  136. package/dist/mcp/tool-docs/templates/get-template.js.map +1 -0
  137. package/dist/mcp/tool-docs/templates/index.d.ts +3 -0
  138. package/dist/mcp/tool-docs/templates/index.d.ts.map +1 -0
  139. package/dist/mcp/tool-docs/templates/index.js +8 -0
  140. package/dist/mcp/tool-docs/templates/index.js.map +1 -0
  141. package/dist/mcp/tool-docs/templates/search-templates.d.ts +3 -0
  142. package/dist/mcp/tool-docs/templates/search-templates.d.ts.map +1 -0
  143. package/dist/mcp/tool-docs/templates/search-templates.js +143 -0
  144. package/dist/mcp/tool-docs/templates/search-templates.js.map +1 -0
  145. package/dist/mcp/tool-docs/types.d.ts +32 -0
  146. package/dist/mcp/tool-docs/types.d.ts.map +1 -0
  147. package/dist/mcp/tool-docs/types.js +3 -0
  148. package/dist/mcp/tool-docs/types.js.map +1 -0
  149. package/dist/mcp/tool-docs/validation/index.d.ts +3 -0
  150. package/dist/mcp/tool-docs/validation/index.d.ts.map +1 -0
  151. package/dist/mcp/tool-docs/validation/index.js +8 -0
  152. package/dist/mcp/tool-docs/validation/index.js.map +1 -0
  153. package/dist/mcp/tool-docs/validation/validate-node.d.ts +3 -0
  154. package/dist/mcp/tool-docs/validation/validate-node.d.ts.map +1 -0
  155. package/dist/mcp/tool-docs/validation/validate-node.js +82 -0
  156. package/dist/mcp/tool-docs/validation/validate-node.js.map +1 -0
  157. package/dist/mcp/tool-docs/validation/validate-workflow.d.ts +3 -0
  158. package/dist/mcp/tool-docs/validation/validate-workflow.d.ts.map +1 -0
  159. package/dist/mcp/tool-docs/validation/validate-workflow.js +86 -0
  160. package/dist/mcp/tool-docs/validation/validate-workflow.js.map +1 -0
  161. package/dist/mcp/tool-docs/workflow_management/index.d.ts +13 -0
  162. package/dist/mcp/tool-docs/workflow_management/index.d.ts.map +1 -0
  163. package/dist/mcp/tool-docs/workflow_management/index.js +28 -0
  164. package/dist/mcp/tool-docs/workflow_management/index.js.map +1 -0
  165. package/dist/mcp/tool-docs/workflow_management/n8n-autofix-workflow.d.ts +3 -0
  166. package/dist/mcp/tool-docs/workflow_management/n8n-autofix-workflow.d.ts.map +1 -0
  167. package/dist/mcp/tool-docs/workflow_management/n8n-autofix-workflow.js +162 -0
  168. package/dist/mcp/tool-docs/workflow_management/n8n-autofix-workflow.js.map +1 -0
  169. package/dist/mcp/tool-docs/workflow_management/n8n-create-workflow.d.ts +3 -0
  170. package/dist/mcp/tool-docs/workflow_management/n8n-create-workflow.d.ts.map +1 -0
  171. package/dist/mcp/tool-docs/workflow_management/n8n-create-workflow.js +102 -0
  172. package/dist/mcp/tool-docs/workflow_management/n8n-create-workflow.js.map +1 -0
  173. package/dist/mcp/tool-docs/workflow_management/n8n-delete-workflow.d.ts +3 -0
  174. package/dist/mcp/tool-docs/workflow_management/n8n-delete-workflow.d.ts.map +1 -0
  175. package/dist/mcp/tool-docs/workflow_management/n8n-delete-workflow.js +52 -0
  176. package/dist/mcp/tool-docs/workflow_management/n8n-delete-workflow.js.map +1 -0
  177. package/dist/mcp/tool-docs/workflow_management/n8n-deploy-template.d.ts +3 -0
  178. package/dist/mcp/tool-docs/workflow_management/n8n-deploy-template.d.ts.map +1 -0
  179. package/dist/mcp/tool-docs/workflow_management/n8n-deploy-template.js +73 -0
  180. package/dist/mcp/tool-docs/workflow_management/n8n-deploy-template.js.map +1 -0
  181. package/dist/mcp/tool-docs/workflow_management/n8n-executions.d.ts +3 -0
  182. package/dist/mcp/tool-docs/workflow_management/n8n-executions.d.ts.map +1 -0
  183. package/dist/mcp/tool-docs/workflow_management/n8n-executions.js +109 -0
  184. package/dist/mcp/tool-docs/workflow_management/n8n-executions.js.map +1 -0
  185. package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow.d.ts +3 -0
  186. package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow.d.ts.map +1 -0
  187. package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow.js +68 -0
  188. package/dist/mcp/tool-docs/workflow_management/n8n-get-workflow.js.map +1 -0
  189. package/dist/mcp/tool-docs/workflow_management/n8n-list-workflows.d.ts +3 -0
  190. package/dist/mcp/tool-docs/workflow_management/n8n-list-workflows.d.ts.map +1 -0
  191. package/dist/mcp/tool-docs/workflow_management/n8n-list-workflows.js +57 -0
  192. package/dist/mcp/tool-docs/workflow_management/n8n-list-workflows.js.map +1 -0
  193. package/dist/mcp/tool-docs/workflow_management/n8n-test-workflow.d.ts +3 -0
  194. package/dist/mcp/tool-docs/workflow_management/n8n-test-workflow.d.ts.map +1 -0
  195. package/dist/mcp/tool-docs/workflow_management/n8n-test-workflow.js +140 -0
  196. package/dist/mcp/tool-docs/workflow_management/n8n-test-workflow.js.map +1 -0
  197. package/dist/mcp/tool-docs/workflow_management/n8n-update-full-workflow.d.ts +3 -0
  198. package/dist/mcp/tool-docs/workflow_management/n8n-update-full-workflow.d.ts.map +1 -0
  199. package/dist/mcp/tool-docs/workflow_management/n8n-update-full-workflow.js +61 -0
  200. package/dist/mcp/tool-docs/workflow_management/n8n-update-full-workflow.js.map +1 -0
  201. package/dist/mcp/tool-docs/workflow_management/n8n-update-partial-workflow.d.ts +3 -0
  202. package/dist/mcp/tool-docs/workflow_management/n8n-update-partial-workflow.d.ts.map +1 -0
  203. package/dist/mcp/tool-docs/workflow_management/n8n-update-partial-workflow.js +420 -0
  204. package/dist/mcp/tool-docs/workflow_management/n8n-update-partial-workflow.js.map +1 -0
  205. package/dist/mcp/tool-docs/workflow_management/n8n-validate-workflow.d.ts +3 -0
  206. package/dist/mcp/tool-docs/workflow_management/n8n-validate-workflow.d.ts.map +1 -0
  207. package/dist/mcp/tool-docs/workflow_management/n8n-validate-workflow.js +73 -0
  208. package/dist/mcp/tool-docs/workflow_management/n8n-validate-workflow.js.map +1 -0
  209. package/dist/mcp/tool-docs/workflow_management/n8n-workflow-versions.d.ts +3 -0
  210. package/dist/mcp/tool-docs/workflow_management/n8n-workflow-versions.d.ts.map +1 -0
  211. package/dist/mcp/tool-docs/workflow_management/n8n-workflow-versions.js +170 -0
  212. package/dist/mcp/tool-docs/workflow_management/n8n-workflow-versions.js.map +1 -0
  213. package/dist/mcp/tools-documentation.d.ts +6 -0
  214. package/dist/mcp/tools-documentation.d.ts.map +1 -0
  215. package/dist/mcp/tools-documentation.js +682 -0
  216. package/dist/mcp/tools-documentation.js.map +1 -0
  217. package/dist/mcp/tools-file-operations.d.ts +154 -0
  218. package/dist/mcp/tools-file-operations.d.ts.map +1 -0
  219. package/dist/mcp/tools-file-operations.js +213 -0
  220. package/dist/mcp/tools-file-operations.js.map +1 -0
  221. package/dist/mcp/tools-n8n-friendly.d.ts +6 -0
  222. package/dist/mcp/tools-n8n-friendly.d.ts.map +1 -0
  223. package/dist/mcp/tools-n8n-friendly.js +89 -0
  224. package/dist/mcp/tools-n8n-friendly.js.map +1 -0
  225. package/dist/mcp/tools-n8n-manager.d.ts +3 -0
  226. package/dist/mcp/tools-n8n-manager.d.ts.map +1 -0
  227. package/dist/mcp/tools-n8n-manager.js +1320 -0
  228. package/dist/mcp/tools-n8n-manager.js.map +1 -0
  229. package/dist/mcp/tools.d.ts +3 -0
  230. package/dist/mcp/tools.d.ts.map +1 -0
  231. package/dist/mcp/tools.js +424 -0
  232. package/dist/mcp/tools.js.map +1 -0
  233. package/dist/mcp/workflow-examples.d.ts +76 -0
  234. package/dist/mcp/workflow-examples.d.ts.map +1 -0
  235. package/dist/mcp/workflow-examples.js +111 -0
  236. package/dist/mcp/workflow-examples.js.map +1 -0
  237. package/dist/mcp-engine.d.ts +36 -0
  238. package/dist/mcp-engine.d.ts.map +1 -0
  239. package/dist/mcp-engine.js +77 -0
  240. package/dist/mcp-engine.js.map +1 -0
  241. package/dist/mcp-tools-engine.d.ts +47 -0
  242. package/dist/mcp-tools-engine.d.ts.map +1 -0
  243. package/dist/mcp-tools-engine.js +89 -0
  244. package/dist/mcp-tools-engine.js.map +1 -0
  245. package/dist/n8n/MCPApi.credentials.d.ts +8 -0
  246. package/dist/n8n/MCPApi.credentials.d.ts.map +1 -0
  247. package/dist/n8n/MCPApi.credentials.js +53 -0
  248. package/dist/n8n/MCPApi.credentials.js.map +1 -0
  249. package/dist/n8n/MCPNode.node.d.ts +13 -0
  250. package/dist/n8n/MCPNode.node.d.ts.map +1 -0
  251. package/dist/n8n/MCPNode.node.js +260 -0
  252. package/dist/n8n/MCPNode.node.js.map +1 -0
  253. package/dist/parsers/node-parser.d.ts +38 -0
  254. package/dist/parsers/node-parser.d.ts.map +1 -0
  255. package/dist/parsers/node-parser.js +250 -0
  256. package/dist/parsers/node-parser.js.map +1 -0
  257. package/dist/parsers/property-extractor.d.ts +11 -0
  258. package/dist/parsers/property-extractor.d.ts.map +1 -0
  259. package/dist/parsers/property-extractor.js +172 -0
  260. package/dist/parsers/property-extractor.js.map +1 -0
  261. package/dist/parsers/simple-parser.d.ts +25 -0
  262. package/dist/parsers/simple-parser.d.ts.map +1 -0
  263. package/dist/parsers/simple-parser.js +212 -0
  264. package/dist/parsers/simple-parser.js.map +1 -0
  265. package/dist/scripts/debug-http-search.d.ts +3 -0
  266. package/dist/scripts/debug-http-search.d.ts.map +1 -0
  267. package/dist/scripts/debug-http-search.js +57 -0
  268. package/dist/scripts/debug-http-search.js.map +1 -0
  269. package/dist/scripts/extract-from-docker.d.ts +3 -0
  270. package/dist/scripts/extract-from-docker.d.ts.map +1 -0
  271. package/dist/scripts/extract-from-docker.js +210 -0
  272. package/dist/scripts/extract-from-docker.js.map +1 -0
  273. package/dist/scripts/fetch-community-nodes.d.ts +3 -0
  274. package/dist/scripts/fetch-community-nodes.d.ts.map +1 -0
  275. package/dist/scripts/fetch-community-nodes.js +114 -0
  276. package/dist/scripts/fetch-community-nodes.js.map +1 -0
  277. package/dist/scripts/fetch-templates-robust.d.ts +4 -0
  278. package/dist/scripts/fetch-templates-robust.d.ts.map +1 -0
  279. package/dist/scripts/fetch-templates-robust.js +132 -0
  280. package/dist/scripts/fetch-templates-robust.js.map +1 -0
  281. package/dist/scripts/fetch-templates.d.ts +4 -0
  282. package/dist/scripts/fetch-templates.d.ts.map +1 -0
  283. package/dist/scripts/fetch-templates.js +411 -0
  284. package/dist/scripts/fetch-templates.js.map +1 -0
  285. package/dist/scripts/generate-community-docs.d.ts +3 -0
  286. package/dist/scripts/generate-community-docs.d.ts.map +1 -0
  287. package/dist/scripts/generate-community-docs.js +183 -0
  288. package/dist/scripts/generate-community-docs.js.map +1 -0
  289. package/dist/scripts/migrate-readme-columns.d.ts +2 -0
  290. package/dist/scripts/migrate-readme-columns.d.ts.map +1 -0
  291. package/dist/scripts/migrate-readme-columns.js +62 -0
  292. package/dist/scripts/migrate-readme-columns.js.map +1 -0
  293. package/dist/scripts/rebuild-database.d.ts +4 -0
  294. package/dist/scripts/rebuild-database.d.ts.map +1 -0
  295. package/dist/scripts/rebuild-database.js +95 -0
  296. package/dist/scripts/rebuild-database.js.map +1 -0
  297. package/dist/scripts/rebuild-optimized.d.ts +3 -0
  298. package/dist/scripts/rebuild-optimized.d.ts.map +1 -0
  299. package/dist/scripts/rebuild-optimized.js +198 -0
  300. package/dist/scripts/rebuild-optimized.js.map +1 -0
  301. package/dist/scripts/rebuild.d.ts +3 -0
  302. package/dist/scripts/rebuild.d.ts.map +1 -0
  303. package/dist/scripts/rebuild.js +258 -0
  304. package/dist/scripts/rebuild.js.map +1 -0
  305. package/dist/scripts/sanitize-templates.d.ts +3 -0
  306. package/dist/scripts/sanitize-templates.d.ts.map +1 -0
  307. package/dist/scripts/sanitize-templates.js +88 -0
  308. package/dist/scripts/sanitize-templates.js.map +1 -0
  309. package/dist/scripts/seed-canonical-ai-examples.d.ts +4 -0
  310. package/dist/scripts/seed-canonical-ai-examples.d.ts.map +1 -0
  311. package/dist/scripts/seed-canonical-ai-examples.js +121 -0
  312. package/dist/scripts/seed-canonical-ai-examples.js.map +1 -0
  313. package/dist/scripts/test-autofix-documentation.d.ts +3 -0
  314. package/dist/scripts/test-autofix-documentation.d.ts.map +1 -0
  315. package/dist/scripts/test-autofix-documentation.js +103 -0
  316. package/dist/scripts/test-autofix-documentation.js.map +1 -0
  317. package/dist/scripts/test-autofix-workflow.d.ts +2 -0
  318. package/dist/scripts/test-autofix-workflow.d.ts.map +1 -0
  319. package/dist/scripts/test-autofix-workflow.js +223 -0
  320. package/dist/scripts/test-autofix-workflow.js.map +1 -0
  321. package/dist/scripts/test-execution-filtering.d.ts +3 -0
  322. package/dist/scripts/test-execution-filtering.d.ts.map +1 -0
  323. package/dist/scripts/test-execution-filtering.js +206 -0
  324. package/dist/scripts/test-execution-filtering.js.map +1 -0
  325. package/dist/scripts/test-node-suggestions.d.ts +3 -0
  326. package/dist/scripts/test-node-suggestions.d.ts.map +1 -0
  327. package/dist/scripts/test-node-suggestions.js +165 -0
  328. package/dist/scripts/test-node-suggestions.js.map +1 -0
  329. package/dist/scripts/test-protocol-negotiation.d.ts +3 -0
  330. package/dist/scripts/test-protocol-negotiation.d.ts.map +1 -0
  331. package/dist/scripts/test-protocol-negotiation.js +154 -0
  332. package/dist/scripts/test-protocol-negotiation.js.map +1 -0
  333. package/dist/scripts/test-summary.d.ts +3 -0
  334. package/dist/scripts/test-summary.d.ts.map +1 -0
  335. package/dist/scripts/test-summary.js +77 -0
  336. package/dist/scripts/test-summary.js.map +1 -0
  337. package/dist/scripts/test-telemetry-mutations-verbose.d.ts +2 -0
  338. package/dist/scripts/test-telemetry-mutations-verbose.d.ts.map +1 -0
  339. package/dist/scripts/test-telemetry-mutations-verbose.js +133 -0
  340. package/dist/scripts/test-telemetry-mutations-verbose.js.map +1 -0
  341. package/dist/scripts/test-telemetry-mutations.d.ts +2 -0
  342. package/dist/scripts/test-telemetry-mutations.d.ts.map +1 -0
  343. package/dist/scripts/test-telemetry-mutations.js +129 -0
  344. package/dist/scripts/test-telemetry-mutations.js.map +1 -0
  345. package/dist/scripts/test-webhook-autofix.d.ts +3 -0
  346. package/dist/scripts/test-webhook-autofix.d.ts.map +1 -0
  347. package/dist/scripts/test-webhook-autofix.js +117 -0
  348. package/dist/scripts/test-webhook-autofix.js.map +1 -0
  349. package/dist/scripts/validate.d.ts +3 -0
  350. package/dist/scripts/validate.d.ts.map +1 -0
  351. package/dist/scripts/validate.js +121 -0
  352. package/dist/scripts/validate.js.map +1 -0
  353. package/dist/scripts/validation-summary.d.ts +3 -0
  354. package/dist/scripts/validation-summary.d.ts.map +1 -0
  355. package/dist/scripts/validation-summary.js +135 -0
  356. package/dist/scripts/validation-summary.js.map +1 -0
  357. package/dist/services/ai-node-validator.d.ts +12 -0
  358. package/dist/services/ai-node-validator.d.ts.map +1 -0
  359. package/dist/services/ai-node-validator.js +429 -0
  360. package/dist/services/ai-node-validator.js.map +1 -0
  361. package/dist/services/ai-tool-validators.d.ts +58 -0
  362. package/dist/services/ai-tool-validators.d.ts.map +1 -0
  363. package/dist/services/ai-tool-validators.js +438 -0
  364. package/dist/services/ai-tool-validators.js.map +1 -0
  365. package/dist/services/breaking-change-detector.d.ts +38 -0
  366. package/dist/services/breaking-change-detector.d.ts.map +1 -0
  367. package/dist/services/breaking-change-detector.js +184 -0
  368. package/dist/services/breaking-change-detector.js.map +1 -0
  369. package/dist/services/breaking-changes-registry.d.ts +28 -0
  370. package/dist/services/breaking-changes-registry.d.ts.map +1 -0
  371. package/dist/services/breaking-changes-registry.js +200 -0
  372. package/dist/services/breaking-changes-registry.js.map +1 -0
  373. package/dist/services/community-package-service.d.ts +69 -0
  374. package/dist/services/community-package-service.d.ts.map +1 -0
  375. package/dist/services/community-package-service.js +202 -0
  376. package/dist/services/community-package-service.js.map +1 -0
  377. package/dist/services/confidence-scorer.d.ts +24 -0
  378. package/dist/services/confidence-scorer.d.ts.map +1 -0
  379. package/dist/services/confidence-scorer.js +139 -0
  380. package/dist/services/confidence-scorer.js.map +1 -0
  381. package/dist/services/config-validator.d.ts +49 -0
  382. package/dist/services/config-validator.d.ts.map +1 -0
  383. package/dist/services/config-validator.js +724 -0
  384. package/dist/services/config-validator.js.map +1 -0
  385. package/dist/services/enhanced-config-validator.d.ts +54 -0
  386. package/dist/services/enhanced-config-validator.d.ts.map +1 -0
  387. package/dist/services/enhanced-config-validator.js +789 -0
  388. package/dist/services/enhanced-config-validator.js.map +1 -0
  389. package/dist/services/error-execution-processor.d.ts +9 -0
  390. package/dist/services/error-execution-processor.d.ts.map +1 -0
  391. package/dist/services/error-execution-processor.js +380 -0
  392. package/dist/services/error-execution-processor.js.map +1 -0
  393. package/dist/services/example-generator.d.ts +14 -0
  394. package/dist/services/example-generator.d.ts.map +1 -0
  395. package/dist/services/example-generator.js +970 -0
  396. package/dist/services/example-generator.js.map +1 -0
  397. package/dist/services/execution-processor.d.ts +8 -0
  398. package/dist/services/execution-processor.d.ts.map +1 -0
  399. package/dist/services/execution-processor.js +381 -0
  400. package/dist/services/execution-processor.js.map +1 -0
  401. package/dist/services/expression-format-validator.d.ts +33 -0
  402. package/dist/services/expression-format-validator.d.ts.map +1 -0
  403. package/dist/services/expression-format-validator.js +209 -0
  404. package/dist/services/expression-format-validator.js.map +1 -0
  405. package/dist/services/expression-validator.d.ts +27 -0
  406. package/dist/services/expression-validator.d.ts.map +1 -0
  407. package/dist/services/expression-validator.js +187 -0
  408. package/dist/services/expression-validator.js.map +1 -0
  409. package/dist/services/installed-node-sync-service.d.ts +32 -0
  410. package/dist/services/installed-node-sync-service.d.ts.map +1 -0
  411. package/dist/services/installed-node-sync-service.js +190 -0
  412. package/dist/services/installed-node-sync-service.js.map +1 -0
  413. package/dist/services/n8n-api-client.d.ts +48 -0
  414. package/dist/services/n8n-api-client.d.ts.map +1 -0
  415. package/dist/services/n8n-api-client.js +458 -0
  416. package/dist/services/n8n-api-client.js.map +1 -0
  417. package/dist/services/n8n-file-format.d.ts +58 -0
  418. package/dist/services/n8n-file-format.d.ts.map +1 -0
  419. package/dist/services/n8n-file-format.js +203 -0
  420. package/dist/services/n8n-file-format.js.map +1 -0
  421. package/dist/services/n8n-validation.d.ts +273 -0
  422. package/dist/services/n8n-validation.d.ts.map +1 -0
  423. package/dist/services/n8n-validation.js +491 -0
  424. package/dist/services/n8n-validation.js.map +1 -0
  425. package/dist/services/n8n-version.d.ts +23 -0
  426. package/dist/services/n8n-version.d.ts.map +1 -0
  427. package/dist/services/n8n-version.js +151 -0
  428. package/dist/services/n8n-version.js.map +1 -0
  429. package/dist/services/node-documentation-service.d.ts +70 -0
  430. package/dist/services/node-documentation-service.d.ts.map +1 -0
  431. package/dist/services/node-documentation-service.js +518 -0
  432. package/dist/services/node-documentation-service.js.map +1 -0
  433. package/dist/services/node-migration-service.d.ts +44 -0
  434. package/dist/services/node-migration-service.d.ts.map +1 -0
  435. package/dist/services/node-migration-service.js +231 -0
  436. package/dist/services/node-migration-service.js.map +1 -0
  437. package/dist/services/node-sanitizer.d.ts +5 -0
  438. package/dist/services/node-sanitizer.d.ts.map +1 -0
  439. package/dist/services/node-sanitizer.js +225 -0
  440. package/dist/services/node-sanitizer.js.map +1 -0
  441. package/dist/services/node-similarity-service.d.ts +51 -0
  442. package/dist/services/node-similarity-service.d.ts.map +1 -0
  443. package/dist/services/node-similarity-service.js +352 -0
  444. package/dist/services/node-similarity-service.js.map +1 -0
  445. package/dist/services/node-specific-validators.d.ts +37 -0
  446. package/dist/services/node-specific-validators.d.ts.map +1 -0
  447. package/dist/services/node-specific-validators.js +1331 -0
  448. package/dist/services/node-specific-validators.js.map +1 -0
  449. package/dist/services/node-version-service.d.ts +63 -0
  450. package/dist/services/node-version-service.d.ts.map +1 -0
  451. package/dist/services/node-version-service.js +215 -0
  452. package/dist/services/node-version-service.js.map +1 -0
  453. package/dist/services/operation-similarity-service.d.ts +32 -0
  454. package/dist/services/operation-similarity-service.d.ts.map +1 -0
  455. package/dist/services/operation-similarity-service.js +341 -0
  456. package/dist/services/operation-similarity-service.js.map +1 -0
  457. package/dist/services/post-update-validator.d.ts +59 -0
  458. package/dist/services/post-update-validator.d.ts.map +1 -0
  459. package/dist/services/post-update-validator.js +231 -0
  460. package/dist/services/post-update-validator.js.map +1 -0
  461. package/dist/services/property-dependencies.d.ts +36 -0
  462. package/dist/services/property-dependencies.d.ts.map +1 -0
  463. package/dist/services/property-dependencies.js +168 -0
  464. package/dist/services/property-dependencies.js.map +1 -0
  465. package/dist/services/property-filter.d.ts +44 -0
  466. package/dist/services/property-filter.d.ts.map +1 -0
  467. package/dist/services/property-filter.js +395 -0
  468. package/dist/services/property-filter.js.map +1 -0
  469. package/dist/services/resource-similarity-service.d.ts +33 -0
  470. package/dist/services/resource-similarity-service.d.ts.map +1 -0
  471. package/dist/services/resource-similarity-service.js +358 -0
  472. package/dist/services/resource-similarity-service.js.map +1 -0
  473. package/dist/services/sqlite-storage-service.d.ts +11 -0
  474. package/dist/services/sqlite-storage-service.d.ts.map +1 -0
  475. package/dist/services/sqlite-storage-service.js +74 -0
  476. package/dist/services/sqlite-storage-service.js.map +1 -0
  477. package/dist/services/task-templates.d.ts +27 -0
  478. package/dist/services/task-templates.d.ts.map +1 -0
  479. package/dist/services/task-templates.js +1397 -0
  480. package/dist/services/task-templates.js.map +1 -0
  481. package/dist/services/tool-variant-generator.d.ts +10 -0
  482. package/dist/services/tool-variant-generator.d.ts.map +1 -0
  483. package/dist/services/tool-variant-generator.js +93 -0
  484. package/dist/services/tool-variant-generator.js.map +1 -0
  485. package/dist/services/type-structure-service.d.ts +23 -0
  486. package/dist/services/type-structure-service.d.ts.map +1 -0
  487. package/dist/services/type-structure-service.js +109 -0
  488. package/dist/services/type-structure-service.js.map +1 -0
  489. package/dist/services/universal-expression-validator.d.ts +20 -0
  490. package/dist/services/universal-expression-validator.d.ts.map +1 -0
  491. package/dist/services/universal-expression-validator.js +192 -0
  492. package/dist/services/universal-expression-validator.js.map +1 -0
  493. package/dist/services/workflow-analytics-service.d.ts +34 -0
  494. package/dist/services/workflow-analytics-service.d.ts.map +1 -0
  495. package/dist/services/workflow-analytics-service.js +144 -0
  496. package/dist/services/workflow-analytics-service.js.map +1 -0
  497. package/dist/services/workflow-auto-fixer.d.ts +74 -0
  498. package/dist/services/workflow-auto-fixer.d.ts.map +1 -0
  499. package/dist/services/workflow-auto-fixer.js +557 -0
  500. package/dist/services/workflow-auto-fixer.js.map +1 -0
  501. package/dist/services/workflow-comparison.d.ts +13 -0
  502. package/dist/services/workflow-comparison.d.ts.map +1 -0
  503. package/dist/services/workflow-comparison.js +306 -0
  504. package/dist/services/workflow-comparison.js.map +1 -0
  505. package/dist/services/workflow-debugging-service.d.ts +62 -0
  506. package/dist/services/workflow-debugging-service.d.ts.map +1 -0
  507. package/dist/services/workflow-debugging-service.js +153 -0
  508. package/dist/services/workflow-debugging-service.js.map +1 -0
  509. package/dist/services/workflow-diff-engine.d.ts +45 -0
  510. package/dist/services/workflow-diff-engine.d.ts.map +1 -0
  511. package/dist/services/workflow-diff-engine.js +830 -0
  512. package/dist/services/workflow-diff-engine.js.map +1 -0
  513. package/dist/services/workflow-validator.d.ts +112 -0
  514. package/dist/services/workflow-validator.d.ts.map +1 -0
  515. package/dist/services/workflow-validator.js +1328 -0
  516. package/dist/services/workflow-validator.js.map +1 -0
  517. package/dist/services/workflow-versioning-service.d.ts +102 -0
  518. package/dist/services/workflow-versioning-service.d.ts.map +1 -0
  519. package/dist/services/workflow-versioning-service.js +264 -0
  520. package/dist/services/workflow-versioning-service.js.map +1 -0
  521. package/dist/telemetry/batch-processor.d.ts +34 -0
  522. package/dist/telemetry/batch-processor.d.ts.map +1 -0
  523. package/dist/telemetry/batch-processor.js +337 -0
  524. package/dist/telemetry/batch-processor.js.map +1 -0
  525. package/dist/telemetry/config-manager.d.ts +32 -0
  526. package/dist/telemetry/config-manager.d.ts.map +1 -0
  527. package/dist/telemetry/config-manager.js +289 -0
  528. package/dist/telemetry/config-manager.js.map +1 -0
  529. package/dist/telemetry/early-error-logger.d.ts +26 -0
  530. package/dist/telemetry/early-error-logger.d.ts.map +1 -0
  531. package/dist/telemetry/early-error-logger.js +187 -0
  532. package/dist/telemetry/early-error-logger.js.map +1 -0
  533. package/dist/telemetry/error-sanitization-utils.d.ts +2 -0
  534. package/dist/telemetry/error-sanitization-utils.d.ts.map +1 -0
  535. package/dist/telemetry/error-sanitization-utils.js +37 -0
  536. package/dist/telemetry/error-sanitization-utils.js.map +1 -0
  537. package/dist/telemetry/error-sanitizer.d.ts +4 -0
  538. package/dist/telemetry/error-sanitizer.d.ts.map +1 -0
  539. package/dist/telemetry/error-sanitizer.js +45 -0
  540. package/dist/telemetry/error-sanitizer.js.map +1 -0
  541. package/dist/telemetry/event-tracker.d.ts +71 -0
  542. package/dist/telemetry/event-tracker.d.ts.map +1 -0
  543. package/dist/telemetry/event-tracker.js +356 -0
  544. package/dist/telemetry/event-tracker.js.map +1 -0
  545. package/dist/telemetry/event-validator.d.ts +78 -0
  546. package/dist/telemetry/event-validator.d.ts.map +1 -0
  547. package/dist/telemetry/event-validator.js +227 -0
  548. package/dist/telemetry/event-validator.js.map +1 -0
  549. package/dist/telemetry/index.d.ts +5 -0
  550. package/dist/telemetry/index.d.ts.map +1 -0
  551. package/dist/telemetry/index.js +11 -0
  552. package/dist/telemetry/index.js.map +1 -0
  553. package/dist/telemetry/intent-classifier.d.ts +11 -0
  554. package/dist/telemetry/intent-classifier.d.ts.map +1 -0
  555. package/dist/telemetry/intent-classifier.js +141 -0
  556. package/dist/telemetry/intent-classifier.js.map +1 -0
  557. package/dist/telemetry/intent-sanitizer.d.ts +9 -0
  558. package/dist/telemetry/intent-sanitizer.d.ts.map +1 -0
  559. package/dist/telemetry/intent-sanitizer.js +103 -0
  560. package/dist/telemetry/intent-sanitizer.js.map +1 -0
  561. package/dist/telemetry/mutation-tracker.d.ts +15 -0
  562. package/dist/telemetry/mutation-tracker.d.ts.map +1 -0
  563. package/dist/telemetry/mutation-tracker.js +177 -0
  564. package/dist/telemetry/mutation-tracker.js.map +1 -0
  565. package/dist/telemetry/mutation-types.d.ts +106 -0
  566. package/dist/telemetry/mutation-types.d.ts.map +1 -0
  567. package/dist/telemetry/mutation-types.js +18 -0
  568. package/dist/telemetry/mutation-types.js.map +1 -0
  569. package/dist/telemetry/mutation-validator.d.ts +20 -0
  570. package/dist/telemetry/mutation-validator.d.ts.map +1 -0
  571. package/dist/telemetry/mutation-validator.js +144 -0
  572. package/dist/telemetry/mutation-validator.js.map +1 -0
  573. package/dist/telemetry/performance-monitor.d.ts +113 -0
  574. package/dist/telemetry/performance-monitor.d.ts.map +1 -0
  575. package/dist/telemetry/performance-monitor.js +208 -0
  576. package/dist/telemetry/performance-monitor.js.map +1 -0
  577. package/dist/telemetry/rate-limiter.d.ts +30 -0
  578. package/dist/telemetry/rate-limiter.d.ts.map +1 -0
  579. package/dist/telemetry/rate-limiter.js +103 -0
  580. package/dist/telemetry/rate-limiter.js.map +1 -0
  581. package/dist/telemetry/startup-checkpoints.d.ts +26 -0
  582. package/dist/telemetry/startup-checkpoints.d.ts.map +1 -0
  583. package/dist/telemetry/startup-checkpoints.js +65 -0
  584. package/dist/telemetry/startup-checkpoints.js.map +1 -0
  585. package/dist/telemetry/telemetry-error.d.ts +44 -0
  586. package/dist/telemetry/telemetry-error.d.ts.map +1 -0
  587. package/dist/telemetry/telemetry-error.js +153 -0
  588. package/dist/telemetry/telemetry-error.js.map +1 -0
  589. package/dist/telemetry/telemetry-manager.d.ts +130 -0
  590. package/dist/telemetry/telemetry-manager.d.ts.map +1 -0
  591. package/dist/telemetry/telemetry-manager.js +257 -0
  592. package/dist/telemetry/telemetry-manager.js.map +1 -0
  593. package/dist/telemetry/telemetry-types.d.ts +103 -0
  594. package/dist/telemetry/telemetry-types.d.ts.map +1 -0
  595. package/dist/telemetry/telemetry-types.js +29 -0
  596. package/dist/telemetry/telemetry-types.js.map +1 -0
  597. package/dist/telemetry/workflow-sanitizer.d.ts +34 -0
  598. package/dist/telemetry/workflow-sanitizer.d.ts.map +1 -0
  599. package/dist/telemetry/workflow-sanitizer.js +242 -0
  600. package/dist/telemetry/workflow-sanitizer.js.map +1 -0
  601. package/dist/templates/batch-processor.d.ts +35 -0
  602. package/dist/templates/batch-processor.d.ts.map +1 -0
  603. package/dist/templates/batch-processor.js +320 -0
  604. package/dist/templates/batch-processor.js.map +1 -0
  605. package/dist/templates/metadata-generator.d.ts +52 -0
  606. package/dist/templates/metadata-generator.d.ts.map +1 -0
  607. package/dist/templates/metadata-generator.js +252 -0
  608. package/dist/templates/metadata-generator.js.map +1 -0
  609. package/dist/templates/template-fetcher.d.ts +45 -0
  610. package/dist/templates/template-fetcher.d.ts.map +1 -0
  611. package/dist/templates/template-fetcher.js +122 -0
  612. package/dist/templates/template-fetcher.js.map +1 -0
  613. package/dist/templates/template-repository.d.ts +93 -0
  614. package/dist/templates/template-repository.d.ts.map +1 -0
  615. package/dist/templates/template-repository.js +644 -0
  616. package/dist/templates/template-repository.js.map +1 -0
  617. package/dist/templates/template-service.d.ts +79 -0
  618. package/dist/templates/template-service.d.ts.map +1 -0
  619. package/dist/templates/template-service.js +300 -0
  620. package/dist/templates/template-service.js.map +1 -0
  621. package/dist/triggers/handlers/base-handler.d.ts +21 -0
  622. package/dist/triggers/handlers/base-handler.d.ts.map +1 -0
  623. package/dist/triggers/handlers/base-handler.js +60 -0
  624. package/dist/triggers/handlers/base-handler.js.map +1 -0
  625. package/dist/triggers/handlers/chat-handler.d.ts +38 -0
  626. package/dist/triggers/handlers/chat-handler.d.ts.map +1 -0
  627. package/dist/triggers/handlers/chat-handler.js +129 -0
  628. package/dist/triggers/handlers/chat-handler.js.map +1 -0
  629. package/dist/triggers/handlers/form-handler.d.ts +35 -0
  630. package/dist/triggers/handlers/form-handler.d.ts.map +1 -0
  631. package/dist/triggers/handlers/form-handler.js +362 -0
  632. package/dist/triggers/handlers/form-handler.js.map +1 -0
  633. package/dist/triggers/handlers/webhook-handler.d.ts +38 -0
  634. package/dist/triggers/handlers/webhook-handler.d.ts.map +1 -0
  635. package/dist/triggers/handlers/webhook-handler.js +115 -0
  636. package/dist/triggers/handlers/webhook-handler.js.map +1 -0
  637. package/dist/triggers/index.d.ts +5 -0
  638. package/dist/triggers/index.d.ts.map +1 -0
  639. package/dist/triggers/index.js +14 -0
  640. package/dist/triggers/index.js.map +1 -0
  641. package/dist/triggers/trigger-detector.d.ts +6 -0
  642. package/dist/triggers/trigger-detector.d.ts.map +1 -0
  643. package/dist/triggers/trigger-detector.js +201 -0
  644. package/dist/triggers/trigger-detector.js.map +1 -0
  645. package/dist/triggers/trigger-registry.d.ts +18 -0
  646. package/dist/triggers/trigger-registry.d.ts.map +1 -0
  647. package/dist/triggers/trigger-registry.js +87 -0
  648. package/dist/triggers/trigger-registry.js.map +1 -0
  649. package/dist/triggers/types.d.ts +76 -0
  650. package/dist/triggers/types.d.ts.map +1 -0
  651. package/dist/triggers/types.js +3 -0
  652. package/dist/triggers/types.js.map +1 -0
  653. package/dist/types/index.d.ts +49 -0
  654. package/dist/types/index.d.ts.map +1 -0
  655. package/dist/types/index.js +21 -0
  656. package/dist/types/index.js.map +1 -0
  657. package/dist/types/instance-context.d.ts +20 -0
  658. package/dist/types/instance-context.d.ts.map +1 -0
  659. package/dist/types/instance-context.js +153 -0
  660. package/dist/types/instance-context.js.map +1 -0
  661. package/dist/types/n8n-api.d.ts +376 -0
  662. package/dist/types/n8n-api.d.ts.map +1 -0
  663. package/dist/types/n8n-api.js +10 -0
  664. package/dist/types/n8n-api.js.map +1 -0
  665. package/dist/types/node-types.d.ts +19 -0
  666. package/dist/types/node-types.d.ts.map +1 -0
  667. package/dist/types/node-types.js +62 -0
  668. package/dist/types/node-types.js.map +1 -0
  669. package/dist/types/session-state.d.ts +15 -0
  670. package/dist/types/session-state.d.ts.map +1 -0
  671. package/dist/types/session-state.js +3 -0
  672. package/dist/types/session-state.js.map +1 -0
  673. package/dist/types/type-structures.d.ts +42 -0
  674. package/dist/types/type-structures.d.ts.map +1 -0
  675. package/dist/types/type-structures.js +32 -0
  676. package/dist/types/type-structures.js.map +1 -0
  677. package/dist/types/workflow-comparison.d.ts +51 -0
  678. package/dist/types/workflow-comparison.d.ts.map +1 -0
  679. package/dist/types/workflow-comparison.js +3 -0
  680. package/dist/types/workflow-comparison.js.map +1 -0
  681. package/dist/types/workflow-diff.d.ts +148 -0
  682. package/dist/types/workflow-diff.d.ts.map +1 -0
  683. package/dist/types/workflow-diff.js +15 -0
  684. package/dist/types/workflow-diff.js.map +1 -0
  685. package/dist/utils/auth.d.ts +13 -0
  686. package/dist/utils/auth.d.ts.map +1 -0
  687. package/dist/utils/auth.js +82 -0
  688. package/dist/utils/auth.js.map +1 -0
  689. package/dist/utils/bridge.d.ts +12 -0
  690. package/dist/utils/bridge.d.ts.map +1 -0
  691. package/dist/utils/bridge.js +127 -0
  692. package/dist/utils/bridge.js.map +1 -0
  693. package/dist/utils/cache-utils.d.ts +58 -0
  694. package/dist/utils/cache-utils.d.ts.map +1 -0
  695. package/dist/utils/cache-utils.js +243 -0
  696. package/dist/utils/cache-utils.js.map +1 -0
  697. package/dist/utils/console-manager.d.ts +10 -0
  698. package/dist/utils/console-manager.d.ts.map +1 -0
  699. package/dist/utils/console-manager.js +63 -0
  700. package/dist/utils/console-manager.js.map +1 -0
  701. package/dist/utils/documentation-fetcher.d.ts +2 -0
  702. package/dist/utils/documentation-fetcher.d.ts.map +1 -0
  703. package/dist/utils/documentation-fetcher.js +18 -0
  704. package/dist/utils/documentation-fetcher.js.map +1 -0
  705. package/dist/utils/enhanced-documentation-fetcher.d.ts +74 -0
  706. package/dist/utils/enhanced-documentation-fetcher.d.ts.map +1 -0
  707. package/dist/utils/enhanced-documentation-fetcher.js +521 -0
  708. package/dist/utils/enhanced-documentation-fetcher.js.map +1 -0
  709. package/dist/utils/error-handler.d.ts +24 -0
  710. package/dist/utils/error-handler.d.ts.map +1 -0
  711. package/dist/utils/error-handler.js +84 -0
  712. package/dist/utils/error-handler.js.map +1 -0
  713. package/dist/utils/example-generator.d.ts +8 -0
  714. package/dist/utils/example-generator.d.ts.map +1 -0
  715. package/dist/utils/example-generator.js +106 -0
  716. package/dist/utils/example-generator.js.map +1 -0
  717. package/dist/utils/expression-utils.d.ts +6 -0
  718. package/dist/utils/expression-utils.d.ts.map +1 -0
  719. package/dist/utils/expression-utils.js +47 -0
  720. package/dist/utils/expression-utils.js.map +1 -0
  721. package/dist/utils/fixed-collection-validator.d.ts +35 -0
  722. package/dist/utils/fixed-collection-validator.d.ts.map +1 -0
  723. package/dist/utils/fixed-collection-validator.js +358 -0
  724. package/dist/utils/fixed-collection-validator.js.map +1 -0
  725. package/dist/utils/logger.d.ts +33 -0
  726. package/dist/utils/logger.d.ts.map +1 -0
  727. package/dist/utils/logger.js +101 -0
  728. package/dist/utils/logger.js.map +1 -0
  729. package/dist/utils/mcp-client.d.ts +21 -0
  730. package/dist/utils/mcp-client.d.ts.map +1 -0
  731. package/dist/utils/mcp-client.js +96 -0
  732. package/dist/utils/mcp-client.js.map +1 -0
  733. package/dist/utils/n8n-errors.d.ts +27 -0
  734. package/dist/utils/n8n-errors.d.ts.map +1 -0
  735. package/dist/utils/n8n-errors.js +138 -0
  736. package/dist/utils/n8n-errors.js.map +1 -0
  737. package/dist/utils/node-classification.d.ts +5 -0
  738. package/dist/utils/node-classification.d.ts.map +1 -0
  739. package/dist/utils/node-classification.js +31 -0
  740. package/dist/utils/node-classification.js.map +1 -0
  741. package/dist/utils/node-source-extractor.d.ts +21 -0
  742. package/dist/utils/node-source-extractor.d.ts.map +1 -0
  743. package/dist/utils/node-source-extractor.js +377 -0
  744. package/dist/utils/node-source-extractor.js.map +1 -0
  745. package/dist/utils/node-type-normalizer.d.ts +17 -0
  746. package/dist/utils/node-type-normalizer.d.ts.map +1 -0
  747. package/dist/utils/node-type-normalizer.js +87 -0
  748. package/dist/utils/node-type-normalizer.js.map +1 -0
  749. package/dist/utils/node-type-utils.d.ts +12 -0
  750. package/dist/utils/node-type-utils.d.ts.map +1 -0
  751. package/dist/utils/node-type-utils.js +126 -0
  752. package/dist/utils/node-type-utils.js.map +1 -0
  753. package/dist/utils/node-utils.d.ts +4 -0
  754. package/dist/utils/node-utils.d.ts.map +1 -0
  755. package/dist/utils/node-utils.js +81 -0
  756. package/dist/utils/node-utils.js.map +1 -0
  757. package/dist/utils/npm-version-checker.d.ts +14 -0
  758. package/dist/utils/npm-version-checker.d.ts.map +1 -0
  759. package/dist/utils/npm-version-checker.js +125 -0
  760. package/dist/utils/npm-version-checker.js.map +1 -0
  761. package/dist/utils/protocol-version.d.ts +19 -0
  762. package/dist/utils/protocol-version.d.ts.map +1 -0
  763. package/dist/utils/protocol-version.js +95 -0
  764. package/dist/utils/protocol-version.js.map +1 -0
  765. package/dist/utils/simple-cache.d.ts +10 -0
  766. package/dist/utils/simple-cache.d.ts.map +1 -0
  767. package/dist/utils/simple-cache.js +42 -0
  768. package/dist/utils/simple-cache.js.map +1 -0
  769. package/dist/utils/ssrf-protection.d.ts +7 -0
  770. package/dist/utils/ssrf-protection.d.ts.map +1 -0
  771. package/dist/utils/ssrf-protection.js +118 -0
  772. package/dist/utils/ssrf-protection.js.map +1 -0
  773. package/dist/utils/template-node-resolver.d.ts +2 -0
  774. package/dist/utils/template-node-resolver.d.ts.map +1 -0
  775. package/dist/utils/template-node-resolver.js +161 -0
  776. package/dist/utils/template-node-resolver.js.map +1 -0
  777. package/dist/utils/template-sanitizer.d.ts +21 -0
  778. package/dist/utils/template-sanitizer.d.ts.map +1 -0
  779. package/dist/utils/template-sanitizer.js +126 -0
  780. package/dist/utils/template-sanitizer.js.map +1 -0
  781. package/dist/utils/url-detector.d.ts +9 -0
  782. package/dist/utils/url-detector.d.ts.map +1 -0
  783. package/dist/utils/url-detector.js +79 -0
  784. package/dist/utils/url-detector.js.map +1 -0
  785. package/dist/utils/validation-schemas.d.ts +32 -0
  786. package/dist/utils/validation-schemas.d.ts.map +1 -0
  787. package/dist/utils/validation-schemas.js +219 -0
  788. package/dist/utils/validation-schemas.js.map +1 -0
  789. package/dist/utils/version.d.ts +2 -0
  790. package/dist/utils/version.d.ts.map +1 -0
  791. package/dist/utils/version.js +18 -0
  792. package/dist/utils/version.js.map +1 -0
  793. package/package.json +178 -0
  794. package/package.runtime.json +24 -0
@@ -0,0 +1,1320 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.n8nManagementTools = void 0;
4
+ exports.n8nManagementTools = [
5
+ {
6
+ name: 'n8n_create_workflow',
7
+ description: `Create workflow. Requires: name, nodes[], connections{}. Created inactive. Returns workflow with ID.`,
8
+ inputSchema: {
9
+ type: 'object',
10
+ properties: {
11
+ name: {
12
+ type: 'string',
13
+ description: 'Workflow name (required)'
14
+ },
15
+ nodes: {
16
+ type: 'array',
17
+ description: 'Array of workflow nodes. Each node must have: id, name, type, typeVersion, position, and parameters',
18
+ items: {
19
+ type: 'object',
20
+ required: ['id', 'name', 'type', 'typeVersion', 'position', 'parameters'],
21
+ properties: {
22
+ id: { type: 'string' },
23
+ name: { type: 'string' },
24
+ type: { type: 'string' },
25
+ typeVersion: { type: 'number' },
26
+ position: {
27
+ type: 'array',
28
+ items: { type: 'number' },
29
+ minItems: 2,
30
+ maxItems: 2
31
+ },
32
+ parameters: { type: 'object' },
33
+ credentials: { type: 'object' },
34
+ disabled: { type: 'boolean' },
35
+ notes: { type: 'string' },
36
+ continueOnFail: { type: 'boolean' },
37
+ retryOnFail: { type: 'boolean' },
38
+ maxTries: { type: 'number' },
39
+ waitBetweenTries: { type: 'number' }
40
+ }
41
+ }
42
+ },
43
+ connections: {
44
+ type: 'object',
45
+ description: 'Workflow connections object. Keys are source node names (the name field, not id), values define output connections'
46
+ },
47
+ settings: {
48
+ type: 'object',
49
+ description: 'Optional workflow settings (execution order, timezone, error handling)',
50
+ properties: {
51
+ executionOrder: { type: 'string', enum: ['v0', 'v1'] },
52
+ timezone: { type: 'string' },
53
+ saveDataErrorExecution: { type: 'string', enum: ['all', 'none'] },
54
+ saveDataSuccessExecution: { type: 'string', enum: ['all', 'none'] },
55
+ saveManualExecutions: { type: 'boolean' },
56
+ saveExecutionProgress: { type: 'boolean' },
57
+ executionTimeout: { type: 'number' },
58
+ errorWorkflow: { type: 'string' }
59
+ }
60
+ }
61
+ },
62
+ required: ['name', 'nodes', 'connections']
63
+ },
64
+ annotations: {
65
+ title: 'Create Workflow',
66
+ readOnlyHint: false,
67
+ destructiveHint: false,
68
+ openWorldHint: true,
69
+ },
70
+ },
71
+ {
72
+ name: 'n8n_get_workflow',
73
+ description: `Get workflow by ID with different detail levels. Use mode='full' for complete workflow, 'details' for metadata+stats, 'structure' for nodes/connections only, 'minimal' for id/name/active/tags.`,
74
+ inputSchema: {
75
+ type: 'object',
76
+ properties: {
77
+ id: {
78
+ type: 'string',
79
+ description: 'Workflow ID'
80
+ },
81
+ mode: {
82
+ type: 'string',
83
+ enum: ['full', 'details', 'structure', 'minimal'],
84
+ default: 'full',
85
+ description: 'Detail level: full=complete workflow, details=full+execution stats, structure=nodes/connections topology, minimal=metadata only'
86
+ }
87
+ },
88
+ required: ['id']
89
+ },
90
+ annotations: {
91
+ title: 'Get Workflow',
92
+ readOnlyHint: true,
93
+ idempotentHint: true,
94
+ openWorldHint: true,
95
+ },
96
+ },
97
+ {
98
+ name: 'n8n_update_full_workflow',
99
+ description: `Full workflow update. Requires complete nodes[] and connections{}. For incremental use n8n_update_partial_workflow.`,
100
+ inputSchema: {
101
+ type: 'object',
102
+ properties: {
103
+ id: {
104
+ type: 'string',
105
+ description: 'Workflow ID to update'
106
+ },
107
+ name: {
108
+ type: 'string',
109
+ description: 'New workflow name'
110
+ },
111
+ nodes: {
112
+ type: 'array',
113
+ description: 'Complete array of workflow nodes (required if modifying workflow structure)',
114
+ items: {
115
+ type: 'object',
116
+ additionalProperties: true
117
+ }
118
+ },
119
+ connections: {
120
+ type: 'object',
121
+ description: 'Complete connections object (required if modifying workflow structure)'
122
+ },
123
+ settings: {
124
+ type: 'object',
125
+ description: 'Workflow settings to update'
126
+ }
127
+ },
128
+ required: ['id']
129
+ },
130
+ annotations: {
131
+ title: 'Update Full Workflow',
132
+ readOnlyHint: false,
133
+ destructiveHint: false,
134
+ idempotentHint: true,
135
+ openWorldHint: true,
136
+ },
137
+ },
138
+ {
139
+ name: 'n8n_update_partial_workflow',
140
+ description: `Update workflow incrementally with diff operations. Types: addNode, removeNode, updateNode, moveNode, enable/disableNode, addConnection, removeConnection, updateSettings, updateName, add/removeTag. See tools_documentation("n8n_update_partial_workflow", "full") for details.`,
141
+ inputSchema: {
142
+ type: 'object',
143
+ additionalProperties: true,
144
+ properties: {
145
+ id: {
146
+ type: 'string',
147
+ description: 'Workflow ID to update'
148
+ },
149
+ operations: {
150
+ type: 'array',
151
+ description: 'Array of diff operations to apply. Each operation must have a "type" field and relevant properties for that operation type.',
152
+ items: {
153
+ type: 'object',
154
+ additionalProperties: true
155
+ }
156
+ },
157
+ validateOnly: {
158
+ type: 'boolean',
159
+ description: 'If true, only validate operations without applying them'
160
+ },
161
+ continueOnError: {
162
+ type: 'boolean',
163
+ description: 'If true, apply valid operations even if some fail (best-effort mode). Returns applied and failed operation indices. Default: false (atomic)'
164
+ }
165
+ },
166
+ required: ['id', 'operations']
167
+ },
168
+ annotations: {
169
+ title: 'Update Partial Workflow',
170
+ readOnlyHint: false,
171
+ destructiveHint: false,
172
+ idempotentHint: true,
173
+ openWorldHint: true,
174
+ },
175
+ },
176
+ {
177
+ name: 'n8n_delete_workflow',
178
+ description: `Permanently delete a workflow. This action cannot be undone.`,
179
+ inputSchema: {
180
+ type: 'object',
181
+ properties: {
182
+ id: {
183
+ type: 'string',
184
+ description: 'Workflow ID to delete'
185
+ }
186
+ },
187
+ required: ['id']
188
+ },
189
+ annotations: {
190
+ title: 'Delete Workflow',
191
+ readOnlyHint: false,
192
+ destructiveHint: true,
193
+ openWorldHint: true,
194
+ },
195
+ },
196
+ {
197
+ name: 'n8n_list_workflows',
198
+ description: `List workflows (minimal metadata only). Returns id/name/active/dates/tags. Check hasMore/nextCursor for pagination.`,
199
+ inputSchema: {
200
+ type: 'object',
201
+ properties: {
202
+ limit: {
203
+ type: 'number',
204
+ description: 'Number of workflows to return (1-100, default: 100)'
205
+ },
206
+ cursor: {
207
+ type: 'string',
208
+ description: 'Pagination cursor from previous response'
209
+ },
210
+ active: {
211
+ type: 'boolean',
212
+ description: 'Filter by active status'
213
+ },
214
+ tags: {
215
+ type: 'array',
216
+ items: { type: 'string' },
217
+ description: 'Filter by tags (exact match)'
218
+ },
219
+ projectId: {
220
+ type: 'string',
221
+ description: 'Filter by project ID (enterprise feature)'
222
+ },
223
+ excludePinnedData: {
224
+ type: 'boolean',
225
+ description: 'Exclude pinned data from response (default: true)'
226
+ }
227
+ }
228
+ },
229
+ annotations: {
230
+ title: 'List Workflows',
231
+ readOnlyHint: true,
232
+ idempotentHint: true,
233
+ openWorldHint: true,
234
+ },
235
+ },
236
+ {
237
+ name: 'n8n_validate_workflow',
238
+ description: `Validate workflow by ID. Checks nodes, connections, expressions. Returns errors/warnings/suggestions.`,
239
+ inputSchema: {
240
+ type: 'object',
241
+ properties: {
242
+ id: {
243
+ type: 'string',
244
+ description: 'Workflow ID to validate'
245
+ },
246
+ options: {
247
+ type: 'object',
248
+ description: 'Validation options',
249
+ properties: {
250
+ validateNodes: {
251
+ type: 'boolean',
252
+ description: 'Validate node configurations (default: true)'
253
+ },
254
+ validateConnections: {
255
+ type: 'boolean',
256
+ description: 'Validate workflow connections (default: true)'
257
+ },
258
+ validateExpressions: {
259
+ type: 'boolean',
260
+ description: 'Validate n8n expressions (default: true)'
261
+ },
262
+ profile: {
263
+ type: 'string',
264
+ enum: ['minimal', 'runtime', 'ai-friendly', 'strict'],
265
+ description: 'Validation profile to use (default: runtime)'
266
+ }
267
+ }
268
+ }
269
+ },
270
+ required: ['id']
271
+ },
272
+ annotations: {
273
+ title: 'Validate Workflow',
274
+ readOnlyHint: true,
275
+ idempotentHint: true,
276
+ openWorldHint: true,
277
+ },
278
+ },
279
+ {
280
+ name: 'n8n_autofix_workflow',
281
+ description: `Automatically fix common workflow validation errors. Preview fixes or apply them. Fixes expression format, typeVersion, error output config, webhook paths.`,
282
+ inputSchema: {
283
+ type: 'object',
284
+ properties: {
285
+ id: {
286
+ type: 'string',
287
+ description: 'Workflow ID to fix'
288
+ },
289
+ applyFixes: {
290
+ type: 'boolean',
291
+ description: 'Apply fixes to workflow (default: false - preview mode)'
292
+ },
293
+ fixTypes: {
294
+ type: 'array',
295
+ description: 'Types of fixes to apply (default: all)',
296
+ items: {
297
+ type: 'string',
298
+ enum: ['expression-format', 'typeversion-correction', 'error-output-config', 'node-type-correction', 'webhook-missing-path', 'typeversion-upgrade', 'version-migration']
299
+ }
300
+ },
301
+ confidenceThreshold: {
302
+ type: 'string',
303
+ enum: ['high', 'medium', 'low'],
304
+ description: 'Minimum confidence level for fixes (default: medium)'
305
+ },
306
+ maxFixes: {
307
+ type: 'number',
308
+ description: 'Maximum number of fixes to apply (default: 50)'
309
+ }
310
+ },
311
+ required: ['id']
312
+ },
313
+ annotations: {
314
+ title: 'Autofix Workflow',
315
+ readOnlyHint: false,
316
+ destructiveHint: false,
317
+ idempotentHint: true,
318
+ openWorldHint: true,
319
+ },
320
+ },
321
+ {
322
+ name: 'n8n_test_workflow',
323
+ description: `Test/trigger workflow execution. Auto-detects trigger type (webhook/form/chat). Supports: webhook (HTTP), form (fields), chat (message). Note: Only workflows with these trigger types can be executed externally.`,
324
+ inputSchema: {
325
+ type: 'object',
326
+ properties: {
327
+ workflowId: {
328
+ type: 'string',
329
+ description: 'Workflow ID to execute (required)'
330
+ },
331
+ triggerType: {
332
+ type: 'string',
333
+ enum: ['webhook', 'form', 'chat'],
334
+ description: 'Trigger type. Auto-detected if not specified. Workflow must have a matching trigger node.'
335
+ },
336
+ httpMethod: {
337
+ type: 'string',
338
+ enum: ['GET', 'POST', 'PUT', 'DELETE'],
339
+ description: 'For webhook: HTTP method (default: from workflow config or POST)'
340
+ },
341
+ webhookPath: {
342
+ type: 'string',
343
+ description: 'For webhook: override the webhook path'
344
+ },
345
+ message: {
346
+ type: 'string',
347
+ description: 'For chat: message to send (required for chat triggers)'
348
+ },
349
+ sessionId: {
350
+ type: 'string',
351
+ description: 'For chat: session ID for conversation continuity'
352
+ },
353
+ data: {
354
+ type: 'object',
355
+ description: 'Input data/payload for webhook, form fields, or execution data'
356
+ },
357
+ headers: {
358
+ type: 'object',
359
+ description: 'Custom HTTP headers'
360
+ },
361
+ timeout: {
362
+ type: 'number',
363
+ description: 'Timeout in ms (default: 120000)'
364
+ },
365
+ waitForResponse: {
366
+ type: 'boolean',
367
+ description: 'Wait for workflow completion (default: true)'
368
+ }
369
+ },
370
+ required: ['workflowId']
371
+ },
372
+ annotations: {
373
+ title: 'Test Workflow',
374
+ readOnlyHint: false,
375
+ destructiveHint: false,
376
+ openWorldHint: true,
377
+ },
378
+ },
379
+ {
380
+ name: 'n8n_executions',
381
+ description: `Manage workflow executions: get details, list, or delete. Use action='get' with id for execution details, action='list' for listing executions, action='delete' to remove execution record.`,
382
+ inputSchema: {
383
+ type: 'object',
384
+ properties: {
385
+ action: {
386
+ type: 'string',
387
+ enum: ['get', 'list', 'delete'],
388
+ description: 'Operation: get=get execution details, list=list executions, delete=delete execution'
389
+ },
390
+ id: {
391
+ type: 'string',
392
+ description: 'Execution ID (required for action=get or action=delete)'
393
+ },
394
+ mode: {
395
+ type: 'string',
396
+ enum: ['preview', 'summary', 'filtered', 'full', 'error'],
397
+ description: 'For action=get: preview=structure only, summary=2 items (default), filtered=custom, full=all data, error=optimized error debugging'
398
+ },
399
+ nodeNames: {
400
+ type: 'array',
401
+ items: { type: 'string' },
402
+ description: 'For action=get with mode=filtered: filter to specific nodes by name'
403
+ },
404
+ itemsLimit: {
405
+ type: 'number',
406
+ description: 'For action=get with mode=filtered: items per node (0=structure, 2=default, -1=unlimited)'
407
+ },
408
+ includeInputData: {
409
+ type: 'boolean',
410
+ description: 'For action=get: include input data in addition to output (default: false)'
411
+ },
412
+ errorItemsLimit: {
413
+ type: 'number',
414
+ description: 'For action=get with mode=error: sample items from upstream node (default: 2, max: 100)'
415
+ },
416
+ includeStackTrace: {
417
+ type: 'boolean',
418
+ description: 'For action=get with mode=error: include full stack trace (default: false, shows truncated)'
419
+ },
420
+ includeExecutionPath: {
421
+ type: 'boolean',
422
+ description: 'For action=get with mode=error: include execution path leading to error (default: true)'
423
+ },
424
+ fetchWorkflow: {
425
+ type: 'boolean',
426
+ description: 'For action=get with mode=error: fetch workflow for accurate upstream detection (default: true)'
427
+ },
428
+ limit: {
429
+ type: 'number',
430
+ description: 'For action=list: number of executions to return (1-100, default: 100)'
431
+ },
432
+ cursor: {
433
+ type: 'string',
434
+ description: 'For action=list: pagination cursor from previous response'
435
+ },
436
+ workflowId: {
437
+ type: 'string',
438
+ description: 'For action=list: filter by workflow ID'
439
+ },
440
+ projectId: {
441
+ type: 'string',
442
+ description: 'For action=list: filter by project ID (enterprise feature)'
443
+ },
444
+ status: {
445
+ type: 'string',
446
+ enum: ['success', 'error', 'waiting'],
447
+ description: 'For action=list: filter by execution status'
448
+ },
449
+ includeData: {
450
+ type: 'boolean',
451
+ description: 'For action=list: include execution data (default: false)'
452
+ }
453
+ },
454
+ required: ['action']
455
+ },
456
+ annotations: {
457
+ title: 'Manage Executions',
458
+ readOnlyHint: false,
459
+ destructiveHint: true,
460
+ openWorldHint: true,
461
+ },
462
+ },
463
+ {
464
+ name: 'n8n_health_check',
465
+ description: `Check n8n instance health and API connectivity. Use mode='diagnostic' for detailed troubleshooting with env vars and tool status.`,
466
+ inputSchema: {
467
+ type: 'object',
468
+ properties: {
469
+ mode: {
470
+ type: 'string',
471
+ enum: ['status', 'diagnostic'],
472
+ description: 'Mode: "status" (default) for quick health check, "diagnostic" for detailed debug info including env vars and tool status',
473
+ default: 'status'
474
+ },
475
+ verbose: {
476
+ type: 'boolean',
477
+ description: 'Include extra details in diagnostic mode (default: false)'
478
+ }
479
+ }
480
+ },
481
+ annotations: {
482
+ title: 'Health Check',
483
+ readOnlyHint: true,
484
+ idempotentHint: true,
485
+ openWorldHint: true,
486
+ },
487
+ },
488
+ {
489
+ name: 'n8n_workflow_versions',
490
+ description: `Manage workflow version history, rollback, and cleanup. Six modes:
491
+ - list: Show version history for a workflow
492
+ - get: Get details of specific version
493
+ - rollback: Restore workflow to previous version (creates backup first)
494
+ - delete: Delete specific version or all versions for a workflow
495
+ - prune: Manually trigger pruning to keep N most recent versions
496
+ - truncate: Delete ALL versions for ALL workflows (requires confirmation)`,
497
+ inputSchema: {
498
+ type: 'object',
499
+ properties: {
500
+ mode: {
501
+ type: 'string',
502
+ enum: ['list', 'get', 'rollback', 'delete', 'prune', 'truncate'],
503
+ description: 'Operation mode'
504
+ },
505
+ workflowId: {
506
+ type: 'string',
507
+ description: 'Workflow ID (required for list, rollback, delete, prune)'
508
+ },
509
+ versionId: {
510
+ type: 'number',
511
+ description: 'Version ID (required for get mode and single version delete, optional for rollback)'
512
+ },
513
+ limit: {
514
+ type: 'number',
515
+ default: 10,
516
+ description: 'Max versions to return in list mode'
517
+ },
518
+ validateBefore: {
519
+ type: 'boolean',
520
+ default: true,
521
+ description: 'Validate workflow structure before rollback'
522
+ },
523
+ deleteAll: {
524
+ type: 'boolean',
525
+ default: false,
526
+ description: 'Delete all versions for workflow (delete mode only)'
527
+ },
528
+ maxVersions: {
529
+ type: 'number',
530
+ default: 10,
531
+ description: 'Keep N most recent versions (prune mode only)'
532
+ },
533
+ confirmTruncate: {
534
+ type: 'boolean',
535
+ default: false,
536
+ description: 'REQUIRED: Must be true to truncate all versions (truncate mode only)'
537
+ }
538
+ },
539
+ required: ['mode']
540
+ },
541
+ annotations: {
542
+ title: 'Workflow Versions',
543
+ readOnlyHint: false,
544
+ destructiveHint: true,
545
+ openWorldHint: true,
546
+ },
547
+ },
548
+ {
549
+ name: 'n8n_import_workflow_file',
550
+ description: `Import a workflow from .n8n file content. The file will be parsed and uploaded to the n8n instance.`,
551
+ inputSchema: {
552
+ type: 'object',
553
+ properties: {
554
+ fileContent: {
555
+ type: 'string',
556
+ description: 'Raw .n8n file content (JSON string)'
557
+ },
558
+ name: {
559
+ type: 'string',
560
+ description: 'Override workflow name'
561
+ },
562
+ activate: {
563
+ type: 'boolean',
564
+ default: false,
565
+ description: 'Activate workflow after import'
566
+ }
567
+ },
568
+ required: ['fileContent']
569
+ },
570
+ annotations: {
571
+ title: 'Import Workflow File',
572
+ readOnlyHint: false,
573
+ destructiveHint: false,
574
+ openWorldHint: true,
575
+ },
576
+ },
577
+ {
578
+ name: 'n8n_export_workflow_file',
579
+ description: `Export a workflow as .n8n file content. Returns the file content as a string ready to save.`,
580
+ inputSchema: {
581
+ type: 'object',
582
+ properties: {
583
+ workflowId: {
584
+ type: 'string',
585
+ description: 'ID of the workflow to export'
586
+ },
587
+ includeCredentials: {
588
+ type: 'boolean',
589
+ default: false,
590
+ description: 'Include credential references (default: false for security)'
591
+ },
592
+ format: {
593
+ type: 'string',
594
+ enum: ['json', 'pretty'],
595
+ default: 'pretty',
596
+ description: 'Output format: json (minified) or pretty (formatted)'
597
+ }
598
+ },
599
+ required: ['workflowId']
600
+ },
601
+ annotations: {
602
+ title: 'Export Workflow File',
603
+ readOnlyHint: true,
604
+ idempotentHint: true,
605
+ openWorldHint: true,
606
+ },
607
+ },
608
+ {
609
+ name: 'n8n_sync_workflow',
610
+ description: `Synchronize a workflow between .n8n file and n8n server. Supports compare, file-to-server, and server-to-file directions.`,
611
+ inputSchema: {
612
+ type: 'object',
613
+ properties: {
614
+ workflowId: {
615
+ type: 'string',
616
+ description: 'ID of the workflow on n8n server'
617
+ },
618
+ fileContent: {
619
+ type: 'string',
620
+ description: 'Current .n8n file content'
621
+ },
622
+ direction: {
623
+ type: 'string',
624
+ enum: ['file_to_server', 'server_to_file', 'compare'],
625
+ description: 'Sync direction: file_to_server (update server), server_to_file (update file), compare (show differences)'
626
+ }
627
+ },
628
+ required: ['workflowId', 'fileContent', 'direction']
629
+ },
630
+ annotations: {
631
+ title: 'Sync Workflow',
632
+ readOnlyHint: false,
633
+ destructiveHint: false,
634
+ openWorldHint: true,
635
+ },
636
+ },
637
+ {
638
+ name: 'n8n_validate_workflow_file',
639
+ description: `Validate .n8n file format and workflow structure without importing to server.`,
640
+ inputSchema: {
641
+ type: 'object',
642
+ properties: {
643
+ fileContent: {
644
+ type: 'string',
645
+ description: 'Raw .n8n file content (JSON string)'
646
+ }
647
+ },
648
+ required: ['fileContent']
649
+ },
650
+ annotations: {
651
+ title: 'Validate Workflow File',
652
+ readOnlyHint: true,
653
+ idempotentHint: true,
654
+ openWorldHint: false,
655
+ },
656
+ },
657
+ {
658
+ name: 'n8n_deploy_template',
659
+ description: `Deploy a workflow template from n8n.io directly to your n8n instance. Deploys first, then auto-fixes common issues (expression format, typeVersions). Returns workflow ID, required credentials, and fixes applied.`,
660
+ inputSchema: {
661
+ type: 'object',
662
+ properties: {
663
+ templateId: {
664
+ type: 'number',
665
+ description: 'Template ID from n8n.io (required)'
666
+ },
667
+ name: {
668
+ type: 'string',
669
+ description: 'Custom workflow name (default: template name)'
670
+ },
671
+ autoUpgradeVersions: {
672
+ type: 'boolean',
673
+ default: true,
674
+ description: 'Automatically upgrade node typeVersions to latest supported (default: true)'
675
+ },
676
+ autoFix: {
677
+ type: 'boolean',
678
+ default: true,
679
+ description: 'Auto-apply fixes after deployment for expression format issues, missing = prefix, etc. (default: true)'
680
+ },
681
+ stripCredentials: {
682
+ type: 'boolean',
683
+ default: true,
684
+ description: 'Remove credential references from nodes - user configures in n8n UI (default: true)'
685
+ }
686
+ },
687
+ required: ['templateId']
688
+ },
689
+ annotations: {
690
+ title: 'Deploy Template',
691
+ readOnlyHint: false,
692
+ destructiveHint: false,
693
+ openWorldHint: true,
694
+ },
695
+ },
696
+ {
697
+ name: 'n8n_search_community_nodes',
698
+ description: `Search for community nodes from the n8n community node registry and npm. Returns packages that can be installed with n8n_install_community_package.`,
699
+ inputSchema: {
700
+ type: 'object',
701
+ properties: {
702
+ query: {
703
+ type: 'string',
704
+ description: 'Search query (e.g., "slack", "telegram", "database")'
705
+ },
706
+ verifiedOnly: {
707
+ type: 'boolean',
708
+ default: false,
709
+ description: 'Only return verified community nodes (default: false)'
710
+ },
711
+ limit: {
712
+ type: 'number',
713
+ default: 20,
714
+ description: 'Maximum number of results to return (default: 20, max: 50)'
715
+ }
716
+ },
717
+ required: ['query']
718
+ },
719
+ annotations: {
720
+ title: 'Search Community Nodes',
721
+ readOnlyHint: true,
722
+ idempotentHint: true,
723
+ openWorldHint: true,
724
+ },
725
+ },
726
+ {
727
+ name: 'n8n_list_community_packages',
728
+ description: `List all community packages installed on the n8n instance. Shows package name, version, installed nodes, and available updates.`,
729
+ inputSchema: {
730
+ type: 'object',
731
+ properties: {}
732
+ },
733
+ annotations: {
734
+ title: 'List Community Packages',
735
+ readOnlyHint: true,
736
+ idempotentHint: true,
737
+ openWorldHint: true,
738
+ },
739
+ },
740
+ {
741
+ name: 'n8n_install_community_package',
742
+ description: `Install a community package on the n8n instance by npm package name. Requires instance owner permissions. Note: n8n may need to be restarted after installation.`,
743
+ inputSchema: {
744
+ type: 'object',
745
+ properties: {
746
+ packageName: {
747
+ type: 'string',
748
+ description: 'npm package name to install (e.g., "n8n-nodes-chatwoot", "@company/n8n-nodes-custom")'
749
+ }
750
+ },
751
+ required: ['packageName']
752
+ },
753
+ annotations: {
754
+ title: 'Install Community Package',
755
+ readOnlyHint: false,
756
+ destructiveHint: false,
757
+ openWorldHint: true,
758
+ },
759
+ },
760
+ {
761
+ name: 'n8n_uninstall_community_package',
762
+ description: `Uninstall a community package from the n8n instance. Requires instance owner permissions. Warning: This will remove all nodes from this package and may break workflows using them.`,
763
+ inputSchema: {
764
+ type: 'object',
765
+ properties: {
766
+ packageName: {
767
+ type: 'string',
768
+ description: 'npm package name to uninstall'
769
+ }
770
+ },
771
+ required: ['packageName']
772
+ },
773
+ annotations: {
774
+ title: 'Uninstall Community Package',
775
+ readOnlyHint: false,
776
+ destructiveHint: true,
777
+ openWorldHint: true,
778
+ },
779
+ },
780
+ {
781
+ name: 'n8n_update_community_package',
782
+ description: `Update a community package to the latest version. Requires instance owner permissions.`,
783
+ inputSchema: {
784
+ type: 'object',
785
+ properties: {
786
+ packageName: {
787
+ type: 'string',
788
+ description: 'npm package name to update'
789
+ }
790
+ },
791
+ required: ['packageName']
792
+ },
793
+ annotations: {
794
+ title: 'Update Community Package',
795
+ readOnlyHint: false,
796
+ destructiveHint: false,
797
+ openWorldHint: true,
798
+ },
799
+ },
800
+ {
801
+ name: 'n8n_sync_installed_nodes',
802
+ description: `Sync installed community nodes from n8n instance to local database. This enables search_nodes and get_node to find community nodes installed on your n8n. Run after installing new community packages.`,
803
+ inputSchema: {
804
+ type: 'object',
805
+ properties: {
806
+ cleanup: {
807
+ type: 'boolean',
808
+ default: false,
809
+ description: 'Also remove nodes from packages that are no longer installed (default: false)'
810
+ }
811
+ }
812
+ },
813
+ annotations: {
814
+ title: 'Sync Installed Nodes',
815
+ readOnlyHint: false,
816
+ destructiveHint: false,
817
+ openWorldHint: true,
818
+ },
819
+ },
820
+ {
821
+ name: 'n8n_list_credentials',
822
+ description: `List all credentials from n8n instance. Returns credential metadata (id, name, type) but NEVER exposes actual credential data/secrets for security.`,
823
+ inputSchema: {
824
+ type: 'object',
825
+ properties: {
826
+ limit: {
827
+ type: 'number',
828
+ description: 'Max number of credentials to return (1-100, default: 50)'
829
+ },
830
+ cursor: {
831
+ type: 'string',
832
+ description: 'Pagination cursor from previous response'
833
+ }
834
+ }
835
+ },
836
+ annotations: {
837
+ title: 'List Credentials',
838
+ readOnlyHint: true,
839
+ idempotentHint: true,
840
+ openWorldHint: true,
841
+ },
842
+ },
843
+ {
844
+ name: 'n8n_get_credential',
845
+ description: `Get credential metadata by ID. Returns name, type, and access info but NEVER returns the actual credential data/secrets.`,
846
+ inputSchema: {
847
+ type: 'object',
848
+ properties: {
849
+ id: {
850
+ type: 'string',
851
+ description: 'Credential ID'
852
+ }
853
+ },
854
+ required: ['id']
855
+ },
856
+ annotations: {
857
+ title: 'Get Credential',
858
+ readOnlyHint: true,
859
+ idempotentHint: true,
860
+ openWorldHint: true,
861
+ },
862
+ },
863
+ {
864
+ name: 'n8n_create_credential',
865
+ description: `Create a new credential. Requires credential type and name. The data object contains service-specific authentication fields.`,
866
+ inputSchema: {
867
+ type: 'object',
868
+ properties: {
869
+ name: {
870
+ type: 'string',
871
+ description: 'Credential name (required)'
872
+ },
873
+ type: {
874
+ type: 'string',
875
+ description: 'Credential type (e.g., "slackApi", "googleSheetsOAuth2Api", "httpBasicAuth"). Use n8n_get_credential_types to see available types.'
876
+ },
877
+ data: {
878
+ type: 'object',
879
+ description: 'Credential data object with authentication fields specific to the type (e.g., API key, OAuth tokens, username/password)'
880
+ }
881
+ },
882
+ required: ['name', 'type', 'data']
883
+ },
884
+ annotations: {
885
+ title: 'Create Credential',
886
+ readOnlyHint: false,
887
+ destructiveHint: false,
888
+ openWorldHint: true,
889
+ },
890
+ },
891
+ {
892
+ name: 'n8n_delete_credential',
893
+ description: `Delete a credential by ID. Warning: Workflows using this credential will fail until updated with a new credential.`,
894
+ inputSchema: {
895
+ type: 'object',
896
+ properties: {
897
+ id: {
898
+ type: 'string',
899
+ description: 'Credential ID to delete'
900
+ }
901
+ },
902
+ required: ['id']
903
+ },
904
+ annotations: {
905
+ title: 'Delete Credential',
906
+ readOnlyHint: false,
907
+ destructiveHint: true,
908
+ openWorldHint: true,
909
+ },
910
+ },
911
+ {
912
+ name: 'n8n_get_credential_types',
913
+ description: `Get list of available credential types that can be created. Returns type name, display name, and description for each credential type.`,
914
+ inputSchema: {
915
+ type: 'object',
916
+ properties: {
917
+ filter: {
918
+ type: 'string',
919
+ description: 'Optional filter to search credential types by name (case-insensitive)'
920
+ }
921
+ }
922
+ },
923
+ annotations: {
924
+ title: 'Get Credential Types',
925
+ readOnlyHint: true,
926
+ idempotentHint: true,
927
+ openWorldHint: false,
928
+ },
929
+ },
930
+ {
931
+ name: 'n8n_list_tags',
932
+ description: `List all tags from n8n instance. Returns tag id, name, and optionally usage count (number of workflows using each tag).`,
933
+ inputSchema: {
934
+ type: 'object',
935
+ properties: {
936
+ limit: {
937
+ type: 'number',
938
+ description: 'Max number of tags to return (1-100, default: 100)'
939
+ },
940
+ cursor: {
941
+ type: 'string',
942
+ description: 'Pagination cursor from previous response'
943
+ },
944
+ withUsageCount: {
945
+ type: 'boolean',
946
+ description: 'Include count of workflows using each tag (default: false)'
947
+ }
948
+ }
949
+ },
950
+ annotations: {
951
+ title: 'List Tags',
952
+ readOnlyHint: true,
953
+ idempotentHint: true,
954
+ openWorldHint: true,
955
+ },
956
+ },
957
+ {
958
+ name: 'n8n_create_tag',
959
+ description: `Create a new tag. Tags help organize workflows by category, project, or any custom classification.`,
960
+ inputSchema: {
961
+ type: 'object',
962
+ properties: {
963
+ name: {
964
+ type: 'string',
965
+ description: 'Tag name (required, must be unique)'
966
+ }
967
+ },
968
+ required: ['name']
969
+ },
970
+ annotations: {
971
+ title: 'Create Tag',
972
+ readOnlyHint: false,
973
+ destructiveHint: false,
974
+ openWorldHint: true,
975
+ },
976
+ },
977
+ {
978
+ name: 'n8n_update_tag',
979
+ description: `Update tag name. This renames the tag across all workflows that use it.`,
980
+ inputSchema: {
981
+ type: 'object',
982
+ properties: {
983
+ id: {
984
+ type: 'string',
985
+ description: 'Tag ID to update'
986
+ },
987
+ name: {
988
+ type: 'string',
989
+ description: 'New tag name'
990
+ }
991
+ },
992
+ required: ['id', 'name']
993
+ },
994
+ annotations: {
995
+ title: 'Update Tag',
996
+ readOnlyHint: false,
997
+ destructiveHint: false,
998
+ idempotentHint: true,
999
+ openWorldHint: true,
1000
+ },
1001
+ },
1002
+ {
1003
+ name: 'n8n_delete_tag',
1004
+ description: `Delete a tag. The tag will be removed from all workflows that use it.`,
1005
+ inputSchema: {
1006
+ type: 'object',
1007
+ properties: {
1008
+ id: {
1009
+ type: 'string',
1010
+ description: 'Tag ID to delete'
1011
+ }
1012
+ },
1013
+ required: ['id']
1014
+ },
1015
+ annotations: {
1016
+ title: 'Delete Tag',
1017
+ readOnlyHint: false,
1018
+ destructiveHint: true,
1019
+ openWorldHint: true,
1020
+ },
1021
+ },
1022
+ {
1023
+ name: 'n8n_assign_tags_to_workflow',
1024
+ description: `Assign one or more tags to a workflow. This replaces all existing tags on the workflow.`,
1025
+ inputSchema: {
1026
+ type: 'object',
1027
+ properties: {
1028
+ workflowId: {
1029
+ type: 'string',
1030
+ description: 'Workflow ID to tag'
1031
+ },
1032
+ tags: {
1033
+ type: 'array',
1034
+ items: { type: 'string' },
1035
+ description: 'Array of tag IDs to assign. Use empty array [] to remove all tags.'
1036
+ }
1037
+ },
1038
+ required: ['workflowId', 'tags']
1039
+ },
1040
+ annotations: {
1041
+ title: 'Assign Tags to Workflow',
1042
+ readOnlyHint: false,
1043
+ destructiveHint: false,
1044
+ idempotentHint: true,
1045
+ openWorldHint: true,
1046
+ },
1047
+ },
1048
+ {
1049
+ name: 'n8n_clone_workflow',
1050
+ description: `Clone an existing workflow with a new name. Creates an exact copy with a different ID, optionally activating it immediately.`,
1051
+ inputSchema: {
1052
+ type: 'object',
1053
+ properties: {
1054
+ workflowId: {
1055
+ type: 'string',
1056
+ description: 'Source workflow ID to clone'
1057
+ },
1058
+ newName: {
1059
+ type: 'string',
1060
+ description: 'Name for the cloned workflow'
1061
+ },
1062
+ activate: {
1063
+ type: 'boolean',
1064
+ description: 'Activate the cloned workflow immediately (default: false)'
1065
+ },
1066
+ tags: {
1067
+ type: 'array',
1068
+ items: { type: 'string' },
1069
+ description: 'Optional: assign different tags to the clone'
1070
+ }
1071
+ },
1072
+ required: ['workflowId', 'newName']
1073
+ },
1074
+ annotations: {
1075
+ title: 'Clone Workflow',
1076
+ readOnlyHint: false,
1077
+ destructiveHint: false,
1078
+ openWorldHint: true,
1079
+ },
1080
+ },
1081
+ {
1082
+ name: 'n8n_backup_workflows',
1083
+ description: `Export all workflows as JSON for backup purposes. Optionally filter by tags or active status. Returns array of workflow objects ready for storage.`,
1084
+ inputSchema: {
1085
+ type: 'object',
1086
+ properties: {
1087
+ active: {
1088
+ type: 'boolean',
1089
+ description: 'Filter by active status (true=active only, false=inactive only, undefined=all)'
1090
+ },
1091
+ tags: {
1092
+ type: 'array',
1093
+ items: { type: 'string' },
1094
+ description: 'Filter by tag IDs (workflows with any of these tags)'
1095
+ },
1096
+ includeCredentials: {
1097
+ type: 'boolean',
1098
+ description: 'Include credential references in backup (default: false for security)'
1099
+ }
1100
+ }
1101
+ },
1102
+ annotations: {
1103
+ title: 'Backup Workflows',
1104
+ readOnlyHint: true,
1105
+ idempotentHint: true,
1106
+ openWorldHint: true,
1107
+ },
1108
+ },
1109
+ {
1110
+ name: 'n8n_restore_workflow',
1111
+ description: `Restore a workflow from backup JSON. Can update an existing workflow by ID or create a new one.`,
1112
+ inputSchema: {
1113
+ type: 'object',
1114
+ properties: {
1115
+ workflowData: {
1116
+ type: 'object',
1117
+ description: 'Workflow JSON data from backup (must include name, nodes, connections)'
1118
+ },
1119
+ mode: {
1120
+ type: 'string',
1121
+ enum: ['create', 'update'],
1122
+ description: 'Restore mode: "create" creates new workflow (ignores ID), "update" updates existing workflow by ID (default: create)'
1123
+ },
1124
+ activate: {
1125
+ type: 'boolean',
1126
+ description: 'Activate the restored workflow (default: false)'
1127
+ }
1128
+ },
1129
+ required: ['workflowData']
1130
+ },
1131
+ annotations: {
1132
+ title: 'Restore Workflow',
1133
+ readOnlyHint: false,
1134
+ destructiveHint: false,
1135
+ openWorldHint: true,
1136
+ },
1137
+ },
1138
+ {
1139
+ name: 'n8n_activate_workflow',
1140
+ description: `Activate a workflow to enable its triggers (webhooks, polling, schedule). Active workflows run automatically based on their trigger configuration.`,
1141
+ inputSchema: {
1142
+ type: 'object',
1143
+ properties: {
1144
+ workflowId: {
1145
+ type: 'string',
1146
+ description: 'Workflow ID to activate'
1147
+ }
1148
+ },
1149
+ required: ['workflowId']
1150
+ },
1151
+ annotations: {
1152
+ title: 'Activate Workflow',
1153
+ readOnlyHint: false,
1154
+ destructiveHint: false,
1155
+ idempotentHint: true,
1156
+ openWorldHint: true,
1157
+ },
1158
+ },
1159
+ {
1160
+ name: 'n8n_deactivate_workflow',
1161
+ description: `Deactivate a workflow to disable its triggers. The workflow will stop running automatically until reactivated.`,
1162
+ inputSchema: {
1163
+ type: 'object',
1164
+ properties: {
1165
+ workflowId: {
1166
+ type: 'string',
1167
+ description: 'Workflow ID to deactivate'
1168
+ }
1169
+ },
1170
+ required: ['workflowId']
1171
+ },
1172
+ annotations: {
1173
+ title: 'Deactivate Workflow',
1174
+ readOnlyHint: false,
1175
+ destructiveHint: false,
1176
+ idempotentHint: true,
1177
+ openWorldHint: true,
1178
+ },
1179
+ },
1180
+ {
1181
+ name: 'n8n_list_active_workflows',
1182
+ description: `List all currently active workflows. Returns workflows that are enabled and running their triggers.`,
1183
+ inputSchema: {
1184
+ type: 'object',
1185
+ properties: {
1186
+ limit: {
1187
+ type: 'number',
1188
+ description: 'Max number of workflows to return (1-100, default: 100)'
1189
+ },
1190
+ cursor: {
1191
+ type: 'string',
1192
+ description: 'Pagination cursor from previous response'
1193
+ },
1194
+ tags: {
1195
+ type: 'array',
1196
+ items: { type: 'string' },
1197
+ description: 'Filter by tag IDs (workflows with any of these tags)'
1198
+ }
1199
+ }
1200
+ },
1201
+ annotations: {
1202
+ title: 'List Active Workflows',
1203
+ readOnlyHint: true,
1204
+ idempotentHint: true,
1205
+ openWorldHint: true,
1206
+ },
1207
+ },
1208
+ {
1209
+ name: 'n8n_get_workflow_stats',
1210
+ description: `Get execution statistics for a workflow including success rate, average execution time, and execution counts. Analyzes recent executions to provide comprehensive metrics.`,
1211
+ inputSchema: {
1212
+ type: 'object',
1213
+ properties: {
1214
+ workflowId: {
1215
+ type: 'string',
1216
+ description: 'Workflow ID to analyze'
1217
+ },
1218
+ daysBack: {
1219
+ type: 'number',
1220
+ description: 'Number of days to analyze (default: 30, max: 90)'
1221
+ }
1222
+ },
1223
+ required: ['workflowId']
1224
+ },
1225
+ annotations: {
1226
+ title: 'Get Workflow Statistics',
1227
+ readOnlyHint: true,
1228
+ idempotentHint: true,
1229
+ openWorldHint: true,
1230
+ },
1231
+ },
1232
+ {
1233
+ name: 'n8n_get_execution_trends',
1234
+ description: `Analyze execution trends over time for a workflow. Returns daily statistics including execution counts, success/error rates, and average execution times.`,
1235
+ inputSchema: {
1236
+ type: 'object',
1237
+ properties: {
1238
+ workflowId: {
1239
+ type: 'string',
1240
+ description: 'Workflow ID to analyze'
1241
+ },
1242
+ days: {
1243
+ type: 'number',
1244
+ description: 'Number of days to analyze (default: 7, max: 30)'
1245
+ }
1246
+ },
1247
+ required: ['workflowId']
1248
+ },
1249
+ annotations: {
1250
+ title: 'Get Execution Trends',
1251
+ readOnlyHint: true,
1252
+ idempotentHint: true,
1253
+ openWorldHint: true,
1254
+ },
1255
+ },
1256
+ {
1257
+ name: 'n8n_get_slow_workflows',
1258
+ description: `Identify workflows with slowest execution times. Returns workflows sorted by average execution time with percentile metrics (median, p95) to help optimize performance.`,
1259
+ inputSchema: {
1260
+ type: 'object',
1261
+ properties: {
1262
+ limit: {
1263
+ type: 'number',
1264
+ description: 'Number of slow workflows to return (default: 10, max: 50)'
1265
+ }
1266
+ }
1267
+ },
1268
+ annotations: {
1269
+ title: 'Get Slow Workflows',
1270
+ readOnlyHint: true,
1271
+ idempotentHint: true,
1272
+ openWorldHint: true,
1273
+ },
1274
+ },
1275
+ {
1276
+ name: 'n8n_trace_execution',
1277
+ description: `Trace the execution path of a workflow run step-by-step. Shows which nodes executed, their status, execution time, input/output counts, and any errors. Essential for debugging failed workflows.`,
1278
+ inputSchema: {
1279
+ type: 'object',
1280
+ properties: {
1281
+ executionId: {
1282
+ type: 'string',
1283
+ description: 'Execution ID to trace'
1284
+ }
1285
+ },
1286
+ required: ['executionId']
1287
+ },
1288
+ annotations: {
1289
+ title: 'Trace Execution',
1290
+ readOnlyHint: true,
1291
+ idempotentHint: true,
1292
+ openWorldHint: true,
1293
+ },
1294
+ },
1295
+ {
1296
+ name: 'n8n_compare_executions',
1297
+ description: `Compare two workflow executions side-by-side to identify differences. Shows status, timing, and node execution differences. Useful for debugging why one execution succeeded while another failed.`,
1298
+ inputSchema: {
1299
+ type: 'object',
1300
+ properties: {
1301
+ executionId1: {
1302
+ type: 'string',
1303
+ description: 'First execution ID to compare'
1304
+ },
1305
+ executionId2: {
1306
+ type: 'string',
1307
+ description: 'Second execution ID to compare'
1308
+ }
1309
+ },
1310
+ required: ['executionId1', 'executionId2']
1311
+ },
1312
+ annotations: {
1313
+ title: 'Compare Executions',
1314
+ readOnlyHint: true,
1315
+ idempotentHint: true,
1316
+ openWorldHint: true,
1317
+ },
1318
+ }
1319
+ ];
1320
+ //# sourceMappingURL=tools-n8n-manager.js.map