functionDeclarations property

List<FunctionDeclaration>? functionDeclarations
final

A list of FunctionDeclarations available to the model that can be used for function calling.

The model or system does not execute the function. Instead the defined function may be returned as a FunctionCall with arguments to the client side for execution. The next conversation turn may contain a FunctionResponse with the role "function" generation context for the next model turn.

Implementation

final List<FunctionDeclaration>? functionDeclarations;