Describe the problem/error/question
I'm encountering the following error when my AI Agent tries to interact with my MCP Server tool.
Error: Received tool input did not match expected schema at Proxy.call
callin.io version
1.102.3 (Self Hosted)
Stack trace
Error: Received tool input did not match expected schema at Proxy.call (/usr/local/lib/node_modules/callin.io/node_modules/.pnpm/@langchain+core@0.3.61_openai@5.8.1_ws@8.17.1_zod@3.25.67_/node_modules/@langchain/core/dist/tools/index.cjs:117:23) at processTicksAndRejections (node:internal/process/task_queues:105:5)
I suspect the issue lies with the MCP Server, but I can't see what request it sent to the MCP Server.
How can I troubleshoot this?
The reason I suspect the MCP is because I have a similar workflow that communicates with different MCP Servers for the same request, and those work correctly.
I'm currently testing the MongoDB MCP Server in public preview, and my specific request is causing this problem.
Any guidance would be greatly appreciated.
Thanks!
You can insert a code node in between to log the output, or enable the 'Return Intermediate Steps' option to view what is being sent.
I enabled the Return Intermediate Steps
option for my AI Agent (it's checked) and it's only outputting the error mentioned in my previous post.
I'll test the alternative option you suggested. Thank you!
UPDATE I had to choose continue
instead of stop
on error to get the intermediate steps.
This thread was automatically closed 7 days following the last response. New replies are no longer permitted.