Hello
I am running n8n self-hosted version 2.14.2 via Docker/Coolify.
Problem: A workflow containing @n8n/n8n-nodes-langchain.agentTool nodes fails to open in the UI. When navigating to the workflow URL, the page redirects to a blank new workflow.
Console Errors:
Error: Could not resolve undefined
at useInjectWorkflowId.ts:5:9
at setup (NodeView.vue:268:20)
What I tried:
-
Verified workflow exists in SQLite database

-
Fixed model field format to
{"__rl": true, "mode": "id", "value": "..."} -
Cleared agentTool parameters to
{} -
Tested on n8n versions 2.10.2, 2.14.2, 2.20.7-exp.0 — same issue on all
What works:
-
Simple test workflow with 1
agent+ 1agentTool(empty parameters) opens fine -
All other workflows without
agentToolnodes open normally
Question: What is the correct JSON structure for agentTool nodes in n8n 2.14.x? Does agentTool require a valid workflowId to render in the UI? If so, what is the correct format?
Workflow node structure:
json
{
"type": "@n8n/n8n-nodes-langchain.agentTool",
"typeVersion": 1,
"parameters": {}
}
Thank you.