Stay organized with collections
Save and categorize content based on your preferences.
Tool configuration for any Tool
specified in the request.
Summary
Public functions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["# Firebase.AI.ToolConfig Struct Reference\n\nFirebase.AI.ToolConfig\n======================\n\n[Tool](/docs/reference/unity/struct/firebase/a-i/tool#struct_firebase_1_1_a_i_1_1_tool) configuration for any [Tool](/docs/reference/unity/struct/firebase/a-i/tool#struct_firebase_1_1_a_i_1_1_tool) specified in the request.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ToolConfig](#struct_firebase_1_1_a_i_1_1_tool_config_1a99237fa34b4f97f5674f964a1369a580)`(`[FunctionCallingConfig](/docs/reference/unity/struct/firebase/a-i/function-calling-config#struct_firebase_1_1_a_i_1_1_function_calling_config)`? functionCallingConfig)` Constructs a new [ToolConfig](/docs/reference/unity/struct/firebase/a-i/tool-config#struct_firebase_1_1_a_i_1_1_tool_config). ||\n\nPublic functions\n----------------\n\n### ToolConfig\n\n```c#\n Firebase::AI::ToolConfig::ToolConfig(\n FunctionCallingConfig? functionCallingConfig\n)\n``` \nConstructs a new [ToolConfig](/docs/reference/unity/struct/firebase/a-i/tool-config#struct_firebase_1_1_a_i_1_1_tool_config).\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |-------------------------|-------------------------------------------------------------| | `functionCallingConfig` | Configures how the model should use the provided functions. | |"]]