(Public Preview) An async handler that is called when the model requests a function to be executed. The handler should perform the function call and return the result as a Part, which will then be sent back to the model.
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
An async handler that is called when the model requests a function to be executed. The handler should perform the function call and return the result as a Part, which will then be sent back to the model.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["\u003e This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\nOptions for [startAudioConversation()](./ai.md#startaudioconversation_01c8e7f).\n\n**Signature:** \n\n export interface StartAudioConversationOptions \n\nProperties\n\n| Property | Type | Description |\n|---------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [functionCallingHandler](./ai.startaudioconversationoptions.md#startaudioconversationoptionsfunctioncallinghandler) | (functionCalls: [LiveServerToolCall](./ai.liveservertoolcall.md#liveservertoolcall_interface)\\['functionCalls'\\]) =\\\u003e Promise\\\u003c[Part](./ai.md#part)\\\u003e | ***(Public Preview)*** An async handler that is called when the model requests a function to be executed. The handler should perform the function call and return the result as a `Part`, which will then be sent back to the model. |\n\nStartAudioConversationOptions.functionCallingHandler This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.\n\nAn async handler that is called when the model requests a function to be executed. The handler should perform the function call and return the result as a `Part`, which will then be sent back to the model.\n\n**Signature:** \n\n functionCallingHandler?: (functionCalls: LiveServerToolCall['functionCalls']) =\u003e Promise\u003cPart\u003e;"]]