[[["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-05-20 UTC."],[],[],null,["# FirebaseAI Framework Reference\n\nFunctionCallingConfig\n=====================\n\n @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)\n public struct FunctionCallingConfig : Sendable\n\n extension FunctionCallingConfig: Encodable\n\nConfiguration for specifying function calling behavior.\n- `\n ``\n ``\n `\n\n ### [auto()](#/s:10FirebaseAI21FunctionCallingConfigV4autoACyFZ)\n\n `\n ` \n Creates a function calling config where the model calls functions at its discretion. \n Note\n\n This is the default behavior. \n\n #### Declaration\n\n Swift \n\n public static func auto() -\u003e FunctionCallingConfig\n\n- `\n ``\n ``\n `\n\n ### [any(allowedFunctionNames:)](#/s:10FirebaseAI21FunctionCallingConfigV3any07allowedC5NamesACSaySSGSg_tFZ)\n\n `\n ` \n Creates a function calling config where the model will always call a provided function. \n\n #### Declaration\n\n Swift \n\n public static func any(allowedFunctionNames: [String]? = nil) -\u003e FunctionCallingConfig\n\n #### Parameters\n\n |------------------------------|---------------------------------------------------------------------------------------------|\n | ` `*allowedFunctionNames*` ` | A set of function names that, when provided, limits the functions that the model will call. |\n\n- `\n ``\n ``\n `\n\n ### [none()](#/s:10FirebaseAI21FunctionCallingConfigV4noneACyFZ)\n\n `\n ` \n Creates a function calling config where the model will never call a function. \n Note\n\n This can also be achieved by not passing any [FunctionDeclaration](../Structs/FunctionDeclaration.html) tools when\n instantiating the model. \n\n #### Declaration\n\n Swift \n\n public static func none() -\u003e FunctionCallingConfig"]]