# Firebase.AI.AutoFunctionDeclaration

Structured representation of a function declaration, designed to be automatically handled when using [Chat](https://firebase.google.com/docs/reference/unity/class/firebase/a-i/chat#class_firebase_1_1_a_i_1_1_chat), instead of requiring manual handling.

## Summary

See `https://firebase.google.com/docs/reference/unity/struct/firebase/a-i/function-declaration#struct_firebase_1_1_a_i_1_1_function_declaration` for more information.

### Inheritance

Inherits from: BaseAutoFunctionDeclaration

| ### Constructors and Destructors ||
|---|---|
| `https://firebase.google.com/docs/reference/unity/class/firebase/a-i/auto-function-declaration#class_firebase_1_1_a_i_1_1_auto_function_declaration_1ad97f8ff5a240fbd67378536f6ba565b7(Delegate callable, string description, string name)` Constructs a new `https://firebase.google.com/docs/reference/unity/class/firebase/a-i/auto-function-declaration#class_firebase_1_1_a_i_1_1_auto_function_declaration` ||

## Public functions

### AutoFunctionDeclaration

```c#
 AutoFunctionDeclaration(
  Delegate callable,
  string description,
  string name
)
```
Constructs a new `https://firebase.google.com/docs/reference/unity/class/firebase/a-i/auto-function-declaration#class_firebase_1_1_a_i_1_1_auto_function_declaration`

<br />

Details Parameters `callable` The delegate that will be called automatically when requested by the model. `description` A brief description of the function. `name` Optional name to use for the function, used to overwrite the delegate name.