Stay organized with collections
Save and categorize content based on your preferences.
The result output from a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a FunctionCall made based on model prediction.
This property is only supported in the Gemini Developer API (GoogleAIBackend). When using the Gemini Developer API (GoogleAIBackend), this property will be undefined.
[[["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,["The result output from a [FunctionCall](./ai.functioncall.md#functioncall_interface) that contains a string representing the [FunctionDeclaration.name](./ai.functiondeclaration.md#functiondeclarationname) and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall](./ai.functioncall.md#functioncall_interface) made based on model prediction.\n\n**Signature:** \n\n export interface FunctionResponse \n\nProperties\n\n| Property | Type | Description |\n|---------------------------------------------------------------|--------|----------------------------------------------------------------------------|\n| [id](./ai.functionresponse.md#functionresponseid) | string | The id of the [FunctionCall](./ai.functioncall.md#functioncall_interface). |\n| [name](./ai.functionresponse.md#functionresponsename) | string | |\n| [response](./ai.functionresponse.md#functionresponseresponse) | object | |\n\nFunctionResponse.id\n\nThe id of the [FunctionCall](./ai.functioncall.md#functioncall_interface).\n\nThis property is only supported in the Gemini Developer API ([GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class)). When using the Gemini Developer API ([GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class)), this property will be `undefined`.\n\n**Signature:** \n\n id?: string;\n\nFunctionResponse.name\n\n**Signature:** \n\n name: string;\n\nFunctionResponse.response\n\n**Signature:** \n\n response: object;"]]