[[["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,["# Firebase.AI.FunctionCallingConfig Struct Reference\n\nFirebase.AI.FunctionCallingConfig\n=================================\n\nConfiguration for specifying function calling behavior.\n\nSummary\n-------\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Any](#struct_firebase_1_1_a_i_1_1_function_calling_config_1a2749cd6ca620fc829aedcd5e93d6e0fb)`(params string[] allowedFunctionNames)` | [FunctionCallingConfig](/docs/reference/unity/struct/firebase/a-i/function-calling-config#struct_firebase_1_1_a_i_1_1_function_calling_config) Creates a function calling config where the model will always call a provided function. |\n| [Any](#struct_firebase_1_1_a_i_1_1_function_calling_config_1ae0ca8076faf5925afe4d556d7bf9f724)`(IEnumerable\u003c string \u003e allowedFunctionNames)` | [FunctionCallingConfig](/docs/reference/unity/struct/firebase/a-i/function-calling-config#struct_firebase_1_1_a_i_1_1_function_calling_config) Creates a function calling config where the model will always call a provided function. |\n| [Auto](#struct_firebase_1_1_a_i_1_1_function_calling_config_1a9b4d453b301c85777a00cc2195677170)`()` | [FunctionCallingConfig](/docs/reference/unity/struct/firebase/a-i/function-calling-config#struct_firebase_1_1_a_i_1_1_function_calling_config) Creates a function calling config where the model calls functions at its discretion. |\n| [None](#struct_firebase_1_1_a_i_1_1_function_calling_config_1ae87f4a3414d43dadc7311a72b29e4041)`()` | [FunctionCallingConfig](/docs/reference/unity/struct/firebase/a-i/function-calling-config#struct_firebase_1_1_a_i_1_1_function_calling_config) Creates a function calling config where the model will never call a function. |\n\nPublic static functions\n-----------------------\n\n### Any\n\n```c#\nFunctionCallingConfig Firebase::AI::FunctionCallingConfig::Any(\n params string[] allowedFunctionNames\n)\n``` \nCreates a function calling config where the model will always call a provided function.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |------------------------|--------------------------------------------------------------------------------------------| | `allowedFunctionNames` | A set of function names that, when provided, limits the function that the model will call. | |\n\n### Any\n\n```c#\nFunctionCallingConfig Firebase::AI::FunctionCallingConfig::Any(\n IEnumerable\u003c string \u003e allowedFunctionNames\n)\n``` \nCreates a function calling config where the model will always call a provided function.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |------------------------|--------------------------------------------------------------------------------------------| | `allowedFunctionNames` | A set of function names that, when provided, limits the function that the model will call. | |\n\n### Auto\n\n```c#\nFunctionCallingConfig Firebase::AI::FunctionCallingConfig::Auto()\n``` \nCreates a function calling config where the model calls functions at its discretion.\n\nNote: This is the default behavior. \n\n### None\n\n```c#\nFunctionCallingConfig Firebase::AI::FunctionCallingConfig::None()\n``` \nCreates a function calling config where the model will never call a function.\n\nNote: This can also be achieved by not passing any [FunctionDeclaration](/docs/reference/unity/struct/firebase/a-i/function-declaration#struct_firebase_1_1_a_i_1_1_function_declaration) tools when instantiating the model."]]