Gemini Tools

Does anyone know how to use the “tools” input function for Gemini? It keeps giving me an error when i name the tool “google_search_retrieval” for example.

Hello @nick_cph,
As per the Google API documentation, they call it “Function calling” Function calling tutorial  |  Gemini API  |  Google AI for Developers

Get structured data outputs from generative models. You can then use these outputs to call other APIs and return the relevant response data to the model. In other words, function calling helps you connect generative models to external systems so that the generated content includes the most up-to-date and accurate information.

It’s an Advanced concept so be sure you know how to use it.
On that documentation page, there is an example with parameters like tools, and tool_config. I think it’s the same as what is used here on this Gemini Module.

I hope this helps you.


:bulb:P.S.: Always search first, Check Make Academy. If this is helpful, Mark Best Answers as Solutions :white_check_mark: and give :+1: If you need expert help or have questions? Contact or comment below! :point_down:

You are right, it looks advanced. And thus beyond my ability. Thanks though

Hello @nick_cph,
:white_check_mark: Please remember to mark the most helpful replies to your questions as solutions. It helps keep the community organized.
:+1: