Problem in node ‘AI Agent‘ Received tool input did not match expected schema

Hello I’m using a simple AI agent with tools being our company’s public APIs for searching for clients, tagging clients, etc.

When I try to tag a client: I get this error: Problem in node ‘AI Agent‘ Received tool input did not match expected schema.

Looking at a succesful execution, here is the input to the model:

And here is an unsuccesful execution:

I do not understand what is causing the error as the input fields are the same. Could it be the session ID? Thank you in advance for the help!

Information on your n8n setup

  • **n8n version: 1.67.1
  • **Database (default: SQLite): NONE
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): DEFAULT
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): N8N CLOUD
  • Operating system: MAC

Hey @Alex_Isbill
It’s hard to see what’s the problem just based on attached screenshots. If providing a full workflow is not an option for you, can you show what input parameters is the tool that has an error expecting and what is being passed when the error happens?
To answer your other question, I don’t think it’s the sessionId that’s causing the problem here.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.