Can i use AI Agent Tool with a free LLM Model?

Hello, I’m trying to use an agent tool with a free open router API, but I’m encountering an error stating that there is no endpoint available for tool usage.

I’m working on building my own agent for content creation, and I want it to have access to my Google Sheets calendar and perform actions on it. Additionally, I would like it to conduct web research and more.

My question is whether I need to use a paid LLM to access this functionality, or if there are any free alternatives available.

P.S. I recently came across MCP, which seems to help connect AI agents with various APIs. I’m exploring this option to see if it could be beneficial.

Yes you can. Can you show your workflow, so I can help you further?

Here’s an example, using the free models from Google Gemini:

1 Like

But if a connect a tool to it i am getting this error.

Oh, I see. This is because you need at least one dynamic parameter for Google Gemini to allow tool usage.

I was able to make it work with OpenRouter and also with Gemini Flash 2.0-exp directly.


To use dymanic parameter you can click that “magic” button or use the $fromAI function:

To learn more about this, check the documentation here

.

:point_right: If my reply answers your question, please remember to mark it as a solution.

2 Likes

Thanks for your assistance; I was able to get it functioning with Gemini, but I couldn’t do the same with OpenRouter.

1 Like

It should work the same way. Keep your tool and change the OpenRouter model to Google Gemini 2.0 Flash Exp.

That’s what I was using

1 Like

It worked! Thank you.

1 Like

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