The gemini function call library is definitely NOT user friendly sadly π was very hard to implement even. Their generativeai library is a little frustrating.
Their tool schemas are not normal json schemas, they came up with their own. So annoying. The tool parsing uses some helper from their library is eventually found