# Firebase.AI.ToolConfig

[Tool](https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/tool#struct_firebase_1_1_a_i_1_1_tool) configuration for any `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/tool#struct_firebase_1_1_a_i_1_1_tool` specified in the request.

## Summary

| ### Constructors and Destructors ||
|---|---|
| `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/tool-config#struct_firebase_1_1_a_i_1_1_tool_config_1a29fb7a00f55bf88b1b53f73ec34c247b(https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/function-calling-config#struct_firebase_1_1_a_i_1_1_function_calling_config? functionCallingConfig, https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/retrieval-config#struct_firebase_1_1_a_i_1_1_retrieval_config? retrievalConfig)` Constructs a new `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/tool-config#struct_firebase_1_1_a_i_1_1_tool_config`. ||

## Public functions

### ToolConfig

```c#
 Firebase::AI::ToolConfig::ToolConfig(
  FunctionCallingConfig? functionCallingConfig,
  RetrievalConfig? retrievalConfig
)
```
Constructs a new `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/tool-config#struct_firebase_1_1_a_i_1_1_tool_config`.

<br />

Details Parameters `functionCallingConfig` Configures how the model should use the provided functions. `retrievalConfig` Configures how the model should use the provided retrieval options.