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 %}
# FunctionResponsePart interface
Content part interface if the part represents [FunctionResponse](./ai.functionresponse.md#functionresponse_interface).
Signature:
```typescript
export interface FunctionResponsePart
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [functionResponse](./ai.functionresponsepart.md#functionresponsepartfunctionresponse) | [FunctionResponse](./ai.functionresponse.md#functionresponse_interface) | |
| [thought](./ai.functionresponsepart.md#functionresponsepartthought) | boolean | |
| [type](./ai.functionresponsepart.md#functionresponseparttype) | 'functionResponse' | |
## FunctionResponsePart.functionResponse
Signature:
```typescript
functionResponse: FunctionResponse;
```
## FunctionResponsePart.thought
Signature:
```typescript
thought?: boolean;
```
## FunctionResponsePart.type
Signature:
```typescript
type: 'functionResponse';
```