LiveServerToolCall interface
Stay organized with collections
Save and categorize content based on your preferences.
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.
A request from the model for the client to execute one or more functions.
Signature:
export interface LiveServerToolCall
Properties
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 array of function calls to run.
Signature:
functionCalls: FunctionCall[];
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.
Signature:
type: 'toolCall';
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[null,null,["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\nA request from the model for the client to execute one or more functions.\n\n**Signature:** \n\n export interface LiveServerToolCall \n\nProperties\n\n| Property | Type | Description |\n|-----------------------------------------------------------------------------|-----------------------------------------------------------------|-----------------------------------------------------------|\n| [functionCalls](./ai.liveservertoolcall.md#liveservertoolcallfunctioncalls) | [FunctionCall](./ai.functioncall.md#functioncall_interface)\\[\\] | ***(Public Preview)*** An array of function calls to run. |\n| [type](./ai.liveservertoolcall.md#liveservertoolcalltype) | 'toolCall' | ***(Public Preview)*** |\n\nLiveServerToolCall.functionCalls 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 array of function calls to run.\n\n**Signature:** \n\n functionCalls: FunctionCall[];\n\nLiveServerToolCall.type 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\n**Signature:** \n\n type: 'toolCall';"]]