agentskit.js

MessageType

Auto-generated API reference for MessageType.

Interface: MessageType

Defined in: core/dist/message-CyXbT7Zj.d.ts:185

#Properties

#content

content: string

Defined in: core/dist/message-CyXbT7Zj.d.ts:189

Text projection of the message. Always populated, even for multi-modal.


#createdAt

createdAt: Date

Defined in: core/dist/message-CyXbT7Zj.d.ts:200


#id

id: string

Defined in: core/dist/message-CyXbT7Zj.d.ts:186


#metadata?

optional metadata?: Record<string, unknown>

Defined in: core/dist/message-CyXbT7Zj.d.ts:199


#parts?

optional parts?: ContentPart[]

Defined in: core/dist/message-CyXbT7Zj.d.ts:195

Multi-modal parts. When provided, content is a text projection of these parts (see partsToText). Adapters that support the relevant modality should prefer parts over content.


#role

role: MessageRole

Defined in: core/dist/message-CyXbT7Zj.d.ts:187


#status

status: MessageStatus

Defined in: core/dist/message-CyXbT7Zj.d.ts:196


#toolCallId?

optional toolCallId?: string

Defined in: core/dist/message-CyXbT7Zj.d.ts:198


#toolCalls?

optional toolCalls?: ToolCall[]

Defined in: core/dist/message-CyXbT7Zj.d.ts:197

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page

Ask the docs
Ask anything about AgentsKit. Answers come from the docs corpus and cite their sources.