Vertex AI v1 API - Enum FunctionCallingConfig.Types.Mode (3.69.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicenumFunctionCallingConfig.Types.Mode
Reference documentation and code samples for the Vertex AI v1 API enum FunctionCallingConfig.Types.Mode.
Model is constrained to always predicting function calls only.
If "allowed_function_names" are set, the predicted function calls will be
limited to any one of "allowed_function_names", else the predicted
function calls will be any one of the provided "function_declarations".
Auto
Default model behavior, model decides to predict either function calls
or natural language response.
None
Model will not predict any function calls. Model behavior is same as when
not passing any function declarations.
Unspecified
Unspecified function calling mode. This value should not be used.
Validated
Model is constrained to predict either function calls or natural language
response.
If [allowed_function_names][FunctionCallingConfig.allowed_function_names]
are set, the predicted function calls will be limited to any one of
allowed_function_names, else the predicted function calls will be any
one of the provided [FunctionDeclaration].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-24 UTC."],[],[]]