Hello n8n team and community,
I’m reporting a sudden breaking issue related to OpenRouter and AI Agent, which started on 10.01.2026 around 12:00 MSK.
This issue is not related to calling a tool — the failure happens even before any tool is invoked.
What is happening
- When any tool (specifically
Call n8n Workflow Tool) is attached to anAI Agentnode:- the execution fails immediately
- even if the tool is never called
- the agent logic does not reach tool execution
- When the same AI Agent is executed without the tool attached:
- the execution completes successfully
- with the same inputs and prompts
{
"errorMessage": "Bad request - please check your parameters",
"errorDescription": "Provider returned error",
"errorDetails": {},
"n8nDetails": {
"time": "10.01.2026, 15:40:43",
"n8nVersion": "2.2.4 (Self Hosted)",
"binaryDataMode": "filesystem"
}
}
Critical observations
- The tool does not need to be called — the error occurs simply because it is attached
- This suggests the failure happens when the tools schema is sent to the language model
- The same behavior occurs when:
- using
OpenAI Chat Modelnode - but replacing OpenAI credentials with OpenRouter credentials
- using
- When using real OpenAI credentials, everything works correctly
Reproducibility
- Reproduced on multiple self-hosted servers
- Reproduced on different n8n versions
- Workflow and tool schema were not changed
- The issue started suddenly on the same day
Conclusion / Question
This strongly suggests a recent change in OpenRouter behavior when handling requests that include tools metadata, even if tools are not invoked.
Has anyone else experienced similar issues with OpenRouter and AI Agent starting today?