mapBaseToolToGeminiLiveFunctionDeclaration
mapBaseToolToGeminiLiveFunctionDeclaration(
tool
):FunctionDeclaration
Defined in: .build/typescript/packages/providers/google/src/utils.ts:38
Maps a BaseTool to a Gemini Live Function Declaration format Used for converting LlamaIndex tools to be compatible with Gemini’s live API function calling
Parameters
Section titled “Parameters”BaseTool
The BaseTool to convert
Returns
Section titled “Returns”FunctionDeclaration
A LiveFunctionDeclaration object that can be used with Gemini’s live API