Why can't I use grounding and Function Calling in one Gemini API assistant?

I think it’s really odd that I can’t use these tools together; is there a valid reason for this? Is there any way around this, aside from building two separate assistants to handle everything?

Hi @Ishan_Roychowdhury,

Is there any example code that I could try and replicate the issue that would help me understand better and report it.

Thank you!

It’s in the documentation. Basically, I’m asking if there’s any way to pass multiple tools to Gemini without using the LiveAPI

you mean multiple tools/function calls but one of the tools must be grounding_search option is it correct ?

Yes, correct. One of the tools is grounding, and the others are functions

sorry my bad, grounding with other tools only supported for Live API as of now I overlooked this statement.

Ok, thanks for the info.