<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / IConversationResponse

# Interface: IConversationResponse

Response from AI provider

## Table of contents

### Properties

- [content](IConversationResponse#content)
- [toolCalls](IConversationResponse#toolcalls)
- [usage](IConversationResponse#usage)
- [metadata](IConversationResponse#metadata)
- [finishReason](IConversationResponse#finishreason)

## Properties

### content

• **content**: `string`

Generated content

#### Defined in

[packages/agents/src/interfaces/service.ts:78](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L78)

---

### toolCalls

• `Optional` **toolCalls**: [`IToolCall`](IToolCall)[]

Tool calls if any

#### Defined in

[packages/agents/src/interfaces/service.ts:80](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L80)

---

### usage

• `Optional` **usage**: `Object`

Usage statistics

#### Type declaration

| Name               | Type     |
| :----------------- | :------- |
| `promptTokens`     | `number` |
| `completionTokens` | `number` |
| `totalTokens`      | `number` |

#### Defined in

[packages/agents/src/interfaces/service.ts:82](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L82)

---

### metadata

• `Optional` **metadata**: [`TResponseMetadata`](../modules#tresponsemetadata)

Response metadata

#### Defined in

[packages/agents/src/interfaces/service.ts:88](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L88)

---

### finishReason

• `Optional` **finishReason**: `string`

Finish reason

#### Defined in

[packages/agents/src/interfaces/service.ts:90](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L90)
