Execute code and get results using Gemini models
Official documentation: https://ai.google.dev/gemini-api/docs/code-executionEnable Gemini models to write and execute code to solve problems, perform calculations, and process data dynamically.
role (string): Role (user or model)parts (array): Content parts arraycodeExecution (object): Enable code execution capabilitytemperature (number): Sampling temperaturetopP (number): Nucleus sampling parameter