Skip to content

Documentation / @agentick/shared / BaseContentBlock

Interface: BaseContentBlock

Defined in: blocks.ts:50

Base properties shared by all content blocks.

Extended by

Properties

createdAt?

readonly optional createdAt: string

Defined in: blocks.ts:58

ISO 8601 timestamp when this block was created


id?

readonly optional id: string

Defined in: blocks.ts:54

Unique identifier for this block


index?

readonly optional index: number

Defined in: blocks.ts:62

Position of this block within the message


messageId?

readonly optional messageId: string

Defined in: blocks.ts:56

ID of the message containing this block


metadata?

readonly optional metadata: Record<string, any>

Defined in: blocks.ts:64

Additional metadata


mimeType?

readonly optional mimeType: string

Defined in: blocks.ts:60

MIME type of the content (for media blocks)


summary?

readonly optional summary: string

Defined in: blocks.ts:66

Human-readable summary of the content


type

readonly type: string

Defined in: blocks.ts:52

Discriminator for type narrowing (e.g., 'text', 'image', 'tool_use')

Released under the ISC License.