FunctionCall interface Stay organized with collections Save and categorize content based on your preferences.
A predictedFunctionCall returned from the model that contains a string representing theFunctionDeclaration.name and a structured JSON object containing the parameters and their values.
Signature:
exportinterfaceFunctionCallProperties
| Property | Type | Description |
|---|---|---|
| args | object | |
| id | string | The id of the function call. This must be sent back in the associatedFunctionResponse. |
| name | string |
FunctionCall.args
Signature:
args:object;FunctionCall.id
The id of the function call. This must be sent back in the associatedFunctionResponse.
This property is only supported in the Gemini Developer API (GoogleAIBackend). When using the Gemini Developer API (GoogleAIBackend), this property will beundefined.
Signature:
id?:string;FunctionCall.name
Signature:
name:string;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.