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 older versions ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFunctionCallingConfig.Types.Mode\u003c/code\u003e is an enum within the Google Cloud AI Platform v1 API, specifically in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThere are four modes available in the \u003ccode\u003eFunctionCallingConfig.Types.Mode\u003c/code\u003e enum: \u003ccode\u003eAny\u003c/code\u003e, \u003ccode\u003eAuto\u003c/code\u003e, \u003ccode\u003eNone\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each dictating how the model handles function calls.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAny\u003c/code\u003e mode constrains the model to always predict a function call, the \u003ccode\u003eAuto\u003c/code\u003e mode lets the model choose between a function call or natural language, the \u003ccode\u003eNone\u003c/code\u003e mode prevents any function call prediction, and the \u003ccode\u003eUnspecified\u003c/code\u003e mode should not be used.\u003c/p\u003e\n"],["\u003cp\u003eAll versions of the \u003ccode\u003eFunctionCallingConfig.Types.Mode\u003c/code\u003e reference the same \u003ccode\u003eGoogle.Cloud.AIPlatform.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]