{
  "id": "google",
  "providers": [
    "google",
    "google-gemini-cli"
  ],
  "providerAuthEnvVars": {
    "google": [
      "GEMINI_API_KEY",
      "GOOGLE_API_KEY"
    ]
  },
  "providerAuthChoices": [
    {
      "provider": "google",
      "method": "api-key",
      "choiceId": "gemini-api-key",
      "choiceLabel": "Google Gemini API key",
      "groupId": "google",
      "groupLabel": "Google",
      "groupHint": "Gemini API key + OAuth",
      "optionKey": "geminiApiKey",
      "cliFlag": "--gemini-api-key",
      "cliOption": "--gemini-api-key <key>",
      "cliDescription": "Gemini API key"
    },
    {
      "provider": "google-gemini-cli",
      "method": "oauth",
      "choiceId": "google-gemini-cli",
      "choiceLabel": "Gemini CLI OAuth",
      "choiceHint": "Google OAuth with project-aware token payload",
      "groupId": "google",
      "groupLabel": "Google",
      "groupHint": "Gemini API key + OAuth"
    }
  ],
  "uiHints": {
    "webSearch.apiKey": {
      "label": "Gemini Search API Key",
      "help": "Gemini API key for Google Search grounding (fallback: GEMINI_API_KEY env var).",
      "sensitive": true,
      "placeholder": "AIza..."
    },
    "webSearch.model": {
      "label": "Gemini Search Model",
      "help": "Gemini model override for web search grounding."
    }
  },
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "webSearch": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "apiKey": {
            "type": [
              "string",
              "object"
            ]
          },
          "model": {
            "type": "string"
          }
        }
      }
    }
  }
}
