n8n/packages
Claude 1822c994aa
refactor(core): Consolidate MCP workflow validation into create_workflow_from_code
Drop the standalone validate_workflow MCP tool: create_workflow_from_code
already runs the identical parse/validate pipeline, so the pre-flight cost
an extra round trip (the full workflow code was sent twice per build) and
one more tool in every tools/list response.

To keep the validation gate as strong without the pre-flight:

- ParseValidateHandler now exposes fatal validation issues in a separate
  `errors` field (still folded into `warnings` for the code-builder agent).
- create_workflow_from_code hard-blocks on fatal validation errors and
  returns them all without persisting anything.
- Node-group violations (102_mcp_canvas_groups) are checked before the
  save path and reported all at once, instead of first-violation-only.
- MCP instructions, tool descriptions, recovery hints, and scope maps no
  longer reference the removed tool.

The in-app code-builder agent's internal validate_workflow tool is
unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EKFYgNjgLFPkft76sXghep
2026-07-31 13:49:39 +03:00
..
@n8n refactor(core): Consolidate MCP workflow validation into create_workflow_from_code 2026-07-31 13:49:39 +03:00
cli refactor(core): Consolidate MCP workflow validation into create_workflow_from_code 2026-07-31 13:49:39 +03:00
core fix(core): Preserve cause on execution errors (#35216) 2026-07-30 13:55:28 +00:00
extensions/insights 🚀 Release 2.32.0 (#34600) 2026-07-21 07:14:52 +00:00
frontend refactor(editor): Single-source CloudPlanState (no-changelog) (#35328) 2026-07-31 10:11:34 +00:00
node-dev chore: Set up repository for TypeScript 7 migration (#33890) 2026-07-09 13:21:16 +03:00
nodes-base fix(Notion Node): Mark title as required for database page create in v3 (#35334) 2026-07-31 10:08:48 +00:00
testing refactor(core): Consolidate MCP workflow validation into create_workflow_from_code 2026-07-31 13:49:39 +03:00
workflow refactor(core): Consolidate MCP workflow validation into create_workflow_from_code 2026-07-31 13:49:39 +03:00