Skip to main content

Interface: GoogleAdkPluginOptions

googleAdkAgents.GoogleAdkPluginOptions

Worker-side configuration for GoogleAdkPlugin.

API keys are NOT configured here — the model Activities read them from the worker environment (e.g. GOOGLE_API_KEY / GEMINI_API_KEY) or via a custom modelProvider. The plugin never puts them in workflow or activity inputs.

Properties

mcpToolsets

Optional mcpToolsets: Record<string, MCPToolsetFactory>

Named MCP toolset factories. Each key name becomes a <name>-listTools / <name>-callTool Activity pair; the factory opens the real MCP session on the worker. The matching workflow-side handle is new TemporalMCPToolset({ name }).


modelProvider

Optional modelProvider: (model: string) => BaseLlm

Reconstructs a BaseLlm from a model name inside the model Activities. Defaults to the ADK LLMRegistry. Use this to inject API keys, point at a proxy, or supply a test double.

Type declaration

▸ (model): BaseLlm

Parameters
NameType
modelstring
Returns

BaseLlm