Gemini API tool retrieval and code mode cut context use for agents. Deferring functions and running a Python sandbox reduced ...