Added configuration for tool definitions and generation settings, including function calling and safety settings.