Default model
Supported models
Any model available through the Google GenAI API:gemini-3.1-pro(default)gemini-3.1-flashgemini-2.0-progemini-2.0-flash- Any other model ID the API accepts
Authentication
Environment variable:Example usage
Tool-use support
No. The Google provider does not currently support tool-use attacks. Single-turn and multi-turn attacks work fine. Tool-use attacks (agent exploitation, MCP exploitation, etc.) will be skipped when targeting Google.Notes
- The provider uses the
google-genaiSDK (from google import genai) - System prompts are passed via the
system_instructionconfig parameter - For multi-turn conversations, message roles are mapped:
assistantbecomesmodel,userstaysuser - Retry with exponential backoff is automatic on API failures (3 attempts)
- If no API key is provided via config or env var, the SDK falls back to its own default resolution