allowedFunctionNames property
Optional. A set of function names that, when provided, limits the functions the model will call.
This should only be set when the Mode is ANY or VALIDATED. Function names should match FunctionDeclaration.name. When set, model will predict a function call from only allowed function names.
Implementation
final List<String> allowedFunctionNames;