Hello, @mohamed3nan
Can I please ask for your help ? I am new to n8n and I want to try to use MCP servers like firecrawl and bravesearch to test how it can improve my work. But I want to try it with Gemini too but I have the same error “Bad request - please check your parameters. Google Gemini requires at least one dynamic parameter when using tools.”
Can you please help me to define dynamic parameter ?
‘<{
“name”: “GeminiFirecrawlTest”,
“nodes”: [
{
“parameters”: {},
“type”: “@n8n/n8n-nodes-langchain.chatTrigger”,
“typeVersion”: 1.1,
“position”: [
-680,
1940
],
“id”: “4b77c853-c987-4103-b3cf-31a6b2de50e1”,
“name”: “When chat message received”,
“webhookId”: “35238bfe-f4d0-4680-b660-fd115790c2e2”
},
{
“parameters”: {},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 1.8,
“position”: [
-428,
1940
],
“id”: “24bc6b42-7c02-4404-acfb-1351958298f2”,
“name”: “AI Agent3”
},
{
“parameters”: {},
“type”: “n8n-nodes-base.stickyNote”,
“typeVersion”: 1,
“position”: [
-540,
1820
],
“id”: “9af3dd04-c52b-4e8c-ae9c-99b86a668508”,
“name”: “Sticky Note3”
},
{
“parameters”: {},
“type”: “n8n-nodes-mcp.mcpClientTool”,
“typeVersion”: 1,
“position”: [
-340,
2160
],
“id”: “5a053e94-c1a7-4150-b124-24ebd0ae284f”,
“name”: “FirecrawlToolsList”
},
{
“parameters”: {},
“type”: “n8n-nodes-mcp.mcpClientTool”,
“typeVersion”: 1,
“position”: [
-220,
2160
],
“id”: “122d0343-4ca7-4eb6-974e-567aa26d4a1c”,
“name”: “FirecrawlExecuteTool”
},
{
“parameters”: {},
“type”: “@n8n/n8n-nodes-langchain.lmChatGoogleGemini”,
“typeVersion”: 1,
“position”: [
-460,
2160
],
“id”: “3d00fb72-a9cd-42a9-882e-5c39cf280c44”,
“name”: “Google Gemini Chat Model1”,
“credentials”: {
“googlePalmApi”: {
“id”: “fIGvAGEVkdjvcUlR”,
“name”: “Google Gemini(PaLM) Api account”
}
}
}
],
“pinData”: {},
“connections”: {
“When chat message received”: {
“main”: [
[
{
“node”: “AI Agent3”,
“type”: “main”,
“index”: 0
}
]
]
},
“FirecrawlToolsList”: {
“ai_tool”: [
[
{
“node”: “AI Agent3”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“FirecrawlExecuteTool”: {
“ai_tool”: [
[
{
“node”: “AI Agent3”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“Google Gemini Chat Model1”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent3”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
}
},
“active”: false,
“settings”: {
“executionOrder”: “v1”
},
“versionId”: “19d74925-24d2-40fc-8f4f-e123da11a54f”,
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “08a93a301be51d4821ea58a1647026b5480dcaa43ab9252f6e2e5ca03a6e1668”
},
“id”: “6BYVu01MOTnN2s6j”,
“tags”:
}>’