Function calling with Gemma
When using a generative artificial intelligence (AI) model such as Gemma, you
may want to use the model to operate programming interfaces in order to complete
tasks or answer questions. Instructing a model by defining a programming
interface and then making a request that uses that interface is called function
calling.
Gemma does not output a tool specific token.
Your framework must detect a tool call by checking if the structure of
the output matches your prompted function output specification....
Read more at ai.google.dev