AI Agent Node Not Calling Tool, just outputting "functionCall"

I’ve got an AI Agent node that doesn’t always want to call the tools, but it does output a JSON object that shows (for example)

“functionCall”:
{
“name”:
“Airtable_Send”,
“args”: { [ALL THE CORRECT DATA] }

So it’s showing that it SHOULD be calling the tools with the right data attached, but it’s not actually doing it. Anything I can try to get it to call the tools? I’ve tried manipulating the prompts, but it doesn’t seem to follow any rhyme or reason.

I’m currently using Gemini 2.5 Pro Preview 3-25 for the model.

Thanks!

Same problem, any solutions yet?

Gemini doesn’t seem to work with most AI agents I’ve tested. Try Claude 3.7 Sonnet. It’s the only model I’ve used that makes using AI agents bearable.

The only workaround I’ve found is to re-work my prompt to make it simpler. Not a ‘real’ solution unless I’m the problem…which is quite possible.

Same here. I hope there’s another workaround since my prompt is very long.

I’ve also rethought the flow I was working on and in this case I could just use a basic LLM node instead of making it an agent. Takes longer to configure up front because I actually have to set the other nodes with the JSON data, but it works better/more reliably and is cheaper due to using fewer tokens.

same problem using Gemini. Did anyone this with OpenAI’s models?

Compartir

Exportar

Reescribir

I have the same problem, nothing worked, I changed the AI ​​agent, reduced the prompt, restarted the entire flow, but the error is still there

same here any up on this ?