agents / Exports / AssistantMessage
Interface: AssistantMessage
Assistant message interface
Hierarchy
BaseMessage↳
AssistantMessage
Table of contents
Properties
Properties
content
• content: string
Inherited from
BaseMessage.content
Defined in
packages/agents/src/interfaces/agent.ts:19
timestamp
• Optional timestamp: Date
Inherited from
BaseMessage.timestamp
Defined in
packages/agents/src/interfaces/agent.ts:20
metadata
• Optional metadata: MessageMetadata
Inherited from
BaseMessage.metadata
Defined in
packages/agents/src/interfaces/agent.ts:21
role
• role: "assistant"
Overrides
BaseMessage.role
Defined in
packages/agents/src/interfaces/agent.ts:35
toolCalls
• Optional toolCalls: ToolCall[]