Gemini tool (text) errors no matter the input

Describe the problem error

Hi, tried multiple tweaks but the gemini tool node (text) seem broken to me… Other gemini tools are fine for me.
Gemini tool (text) errors no matter the input

What is the error message (if any)?

Node does not have input of type

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.103.2:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via Docker:
  • Operating system: Unraid

If you simply want to send text to Gemini, and you’re not using the flow as a Tool in an Agent, remove the call to $fromAI(…) and replace it with plain text or a standard expression.

Replace this line:
={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('values0_Prompt', ``, 'string') }}

With something like:
={{ $json.inputText || "Hi Gemini, how are you?" }}

Hi, I use MCP server as a tool for my AI Agent workflow. What is the proper way to pass the input in this case if I want to passthrough the ‘values0_Prompt’? The one I included is just a mini version that only included the tool that is broken to me. in the extra context, I use my MCP Gemini Server for multiple workflows so I separate Gemini like that.
Thank you.

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