Skip to content

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

PropertyTypeDescriptionDefined in
description?stringDescription provided to the model as context.src/providers/agent/gemini/types.ts:29
namestringFunction 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

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency