> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: Message

> TypeScript SDK reference

[weave](../) / Message

## Table of contents

### Properties

* [content](./message#content)
* [parts](./message#parts)
* [role](./message#role)
* [toolCallId](./message#toolcallid)
* [toolName](./message#toolname)

## Properties

### content

• `Optional` **content**: `string`

#### Defined in

[src/genai/types.ts:17](https://github.com/wandb/weave/blob/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/genai/types.ts#L17)

***

### parts

• `Optional` **parts**: [`MessagePart`](../#messagepart)\[]

#### Defined in

[src/genai/types.ts:20](https://github.com/wandb/weave/blob/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/genai/types.ts#L20)

***

### role

• **role**: [`Role`](../#role)

#### Defined in

[src/genai/types.ts:16](https://github.com/wandb/weave/blob/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/genai/types.ts#L16)

***

### toolCallId

• `Optional` **toolCallId**: `string`

#### Defined in

[src/genai/types.ts:18](https://github.com/wandb/weave/blob/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/genai/types.ts#L18)

***

### toolName

• `Optional` **toolName**: `string`

#### Defined in

[src/genai/types.ts:19](https://github.com/wandb/weave/blob/9591aba8a5e77309ee0858e5ba94d31c1bd7e404/sdks/node/src/genai/types.ts#L19)
