Model is constrained to always predicting a function call only.
If "allowed_function_names" are set, the predicted function call will be
limited to any one of "allowed_function_names", else the predicted
function call will be any one of the provided "function_declarations".
Auto
Default model behavior, model decides to predict either a function call
or a natural language response.
None
Model will not predict any function call. Model behavior is same as when
not passing any function declarations.
Unspecified
Unspecified function calling mode. This value should not be used.
[[["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-20 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eFunctionCallingConfig.Types.Mode\u003c/code\u003e is 3.22.0, with previous versions ranging from 3.21.0 down to 1.0.0, and the current version is 3.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFunctionCallingConfig.Types.Mode\u003c/code\u003e enum within the Google Cloud AI Platform v1 API offers four distinct modes: \u003ccode\u003eAny\u003c/code\u003e, \u003ccode\u003eAuto\u003c/code\u003e, \u003ccode\u003eNone\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAny\u003c/code\u003e mode constrains the model to predict only function calls, optionally limiting them to a set of allowed function names.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAuto\u003c/code\u003e mode allows the model to choose between predicting a function call or a natural language response.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNone\u003c/code\u003e mode ensures that the model will never predict a function call, while \u003ccode\u003eUnspecified\u003c/code\u003e is a value that should not be used.\u003c/p\u003e\n"]]],[],null,[]]