Project: /docs/reference/js/_project.yaml
Book: /docs/reference/_book.yaml
page_type: reference
{% comment %}
DO NOT EDIT THIS FILE!
This is generated by the JS SDK team, and any local changes will be
overwritten. Changes should be made in the source code at
https://github.com/firebase/firebase-js-sdk
{% endcomment %}
# TemplateFunctionDeclarationsTool interface
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
>
A piece of code that enables the system to interact with external systems.
Signature:
```typescript
export interface TemplateFunctionDeclarationsTool
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [functionDeclarations](./ai.templatefunctiondeclarationstool.md#templatefunctiondeclarationstoolfunctiondeclarations) | [TemplateFunctionDeclaration](./ai.templatefunctiondeclaration.md#templatefunctiondeclaration_interface)\[\] | (Public Preview) Optional. One or more function declarations to be passed to the server-side template execution. |
## TemplateFunctionDeclarationsTool.functionDeclarations
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
>
Optional. One or more function declarations to be passed to the server-side template execution.
Signature:
```typescript
functionDeclarations?: TemplateFunctionDeclaration[];
```