Problem in node ‘PartialExecutionToolExecutor‘
Error executing tool: Received tool input did not match expected schema
Value must be a non-empty object or a non-empty array → at Tool_Parameters… I have have {{ $fromAI(“tool”, “selected tool to execute”) as my Tool name in my execute tools node. My tool names are brave_local_search, brave_web_search. I have everything right but i dont know why it keeps giving me this error.
Describe the problem/error/question
What is the error message (if any)? Problem in node ‘PartialExecutionToolExecutor‘
Error executing tool: Received tool input did not match expected schema
Value must be a non-empty object or a non-empty array → at Tool_Parameters… I have have {{ $fromAI(“tool”, “selected tool to execute”) as my Tool name in my execute tools node. My tool names are brave_local_search, brave_web_search. I have everything right but i dont know why it keeps giving me this error.
Please share your workflow {
“nodes”: [
{
“parameters”: {
“operation”: “executeTool”,
“toolName”: “={{ $fromAI(“tool”, “selected tool to execute”)”,
“toolParameters”: “={{ /n8n-auto-generated-fromAI-override/ $fromAI(‘Tool_Parameters’, ``, ‘json’) }}”
},
“type”: “n8n-nodes-mcp.mcpClientTool”,
“typeVersion”: 1,
“position”: [
896,
224
],
“id”: “dd8562b9-9567-4ac4-9110-db823d812a42”,
“name”: “MCP Client1”,
“credentials”: {
“mcpClientApi”: {
“id”: “DokyPlOO57pfUleM”,
“name”: “MCP Client (STDIO) account”
}
}
}
],
“connections”: {
“MCP Client1”: {
“ai_tool”: [
]
}
},
“pinData”: {},
“meta”: {
“templateId”: “self-building-ai-agent”,
“templateCredsSetupCompleted”: true,
“instanceId”: “434f1d4b7324e044bcff9ddd61e3bedb7e363eb01b75d79d8b910eeb26110d7e”
}
}
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
I expect it to successful run and show the serach results.
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via OCI VM always free
- Operating system: Ubuntu