code-docs/plugins/connections/google.md
Google AI connection and GeminiAgent resolver for Gemini models.
Provides the Google connection type (AI SDK provider) and GeminiAgent agent type for Lowdefy's agent system.
Creates a Google AI SDK provider instance.
Properties:
apiKey (required) — Google AI API keySchema: src/connections/Google/schema.js
Resolver that delegates to handleAgentChat from @lowdefy/ai-utils with Google-specific provider options.
Provider-specific properties:
thinkingConfig — Thinking/reasoning configurationsafetySettings — Content safety filter settingsThese are mapped to providerOptions.google before calling handleAgentChat.
Schema: Extends AISDKAgentSchema with thinkingConfig, safetySettings, and pageContext.
connections — { Google: { schema, create } }agents — { GeminiAgent: { schema, resolver } }types — Type registry for plugin system| File | Purpose |
|---|---|
src/connections/Google/Google.js | Connection factory |
src/connections/Google/GeminiAgent/GeminiAgent.js | Agent resolver |
src/connections/Google/GeminiAgent/schema.js | Agent-specific schema |
src/connections/Google/schema.js | Connection schema |