Grounding with Google Search  |  Gemini ...

I'm a bit confused by the "tools" nomenclature, but I've trying to wrap my head around leveraging Gemini 2.0's new search grounding tool (https://ai.google.dev/gemini-api/docs/grounding?lang=node) and make it available for a genkit flow (either as a defineTool, by the model config in my dotprompt, or any other way that allows me to "toggle" on an off).

Has anyone here done this?
Was this page helpful?