GeminiLiveFunctionDeclaration
A function declaration the Gemini Live agent can invoke.
Defined in: src/providers/agent/gemini/types.ts:24
A function declaration the Gemini Live agent can invoke.
Remarks
Maps to tools[].functionDeclarations[] in the setup message. When the model calls a function, the provider invokes GeminiLiveAgentConfig.onFunctionCall and sends the result back in a toolResponse message.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
description? | string | Description provided to the model as context. | src/providers/agent/gemini/types.ts:29 |
name | string | Function name the model references when calling. | src/providers/agent/gemini/types.ts:26 |
parameters? | Record<string, unknown> | OpenAPI-style schema for the function parameters. | src/providers/agent/gemini/types.ts:32 |