Documentation / @agentick/shared / BaseContentBlock
Interface: BaseContentBlock ​
Defined in: blocks.ts:50
Base properties shared by all content blocks.
Extended by ​
BaseMediaSourceImageBlockDocumentBlockAudioBlockVideoBlockToolUseBlockToolResultBlockGeneratedImageBlockGeneratedFileBlockExecutableCodeBlockCodeExecutionResultBlockUserActionBlockSystemEventBlockStateChangeBlockCustomContentBlock
Properties ​
createdAt? ​
readonlyoptionalcreatedAt:string
Defined in: blocks.ts:58
ISO 8601 timestamp when this block was created
id? ​
readonlyoptionalid:string
Defined in: blocks.ts:54
Unique identifier for this block
index? ​
readonlyoptionalindex:number
Defined in: blocks.ts:62
Position of this block within the message
messageId? ​
readonlyoptionalmessageId:string
Defined in: blocks.ts:56
ID of the message containing this block
metadata? ​
readonlyoptionalmetadata:Record<string,any>
Defined in: blocks.ts:64
Additional metadata
mimeType? ​
readonlyoptionalmimeType:string
Defined in: blocks.ts:60
MIME type of the content (for media blocks)
summary? ​
readonlyoptionalsummary:string
Defined in: blocks.ts:66
Human-readable summary of the content
type ​
readonlytype:string
Defined in: blocks.ts:52
Discriminator for type narrowing (e.g., 'text', 'image', 'tool_use')