<!--
 ⚠️  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) / IAssistantMessage

# Interface: IAssistantMessage

Base message contract shared by all message variants.

## Hierarchy

- [`IBaseMessage`](IBaseMessage)

  ↳ **`IAssistantMessage`**

## Table of contents

### Properties

- [timestamp](IAssistantMessage#timestamp)
- [metadata](IAssistantMessage#metadata)
- [role](IAssistantMessage#role)
- [content](IAssistantMessage#content)
- [toolCalls](IAssistantMessage#toolcalls)

## Properties

### timestamp

• **timestamp**: `Date`

Message creation timestamp

#### Inherited from

[IBaseMessage](IBaseMessage).[timestamp](IBaseMessage#timestamp)

#### Defined in

[packages/agents/src/interfaces/messages.ts:38](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L38)

---

### metadata

• `Optional` **metadata**: [`TUniversalMessageMetadata`](../modules#tuniversalmessagemetadata)

Additional metadata

#### Inherited from

[IBaseMessage](IBaseMessage).[metadata](IBaseMessage#metadata)

#### Defined in

[packages/agents/src/interfaces/messages.ts:40](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L40)

---

### role

• **role**: `"assistant"`

#### Defined in

[packages/agents/src/interfaces/messages.ts:50](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L50)

---

### content

• **content**: `null` \| `string`

Assistant response content (can be null when making tool calls)

#### Defined in

[packages/agents/src/interfaces/messages.ts:52](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L52)

---

### toolCalls

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

#### Defined in

[packages/agents/src/interfaces/messages.ts:53](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L53)
