Documentation / @agentick/shared / FileReferenceSource
Interface: FileReferenceSource ​
Defined in: blocks.ts:95
Base properties shared by all content blocks.
Extends ​
Properties ​
createdAt? ​
readonlyoptionalcreatedAt:string
Defined in: blocks.ts:58
ISO 8601 timestamp when this block was created
Inherited from ​
fileId ​
readonlyfileId:string
Defined in: blocks.ts:97
fileName? ​
readonlyoptionalfileName:string
Defined in: blocks.ts:99
id? ​
readonlyoptionalid:string
Defined in: blocks.ts:54
Unique identifier for this block
Inherited from ​
index? ​
readonlyoptionalindex:number
Defined in: blocks.ts:62
Position of this block within the message
Inherited from ​
messageId? ​
readonlyoptionalmessageId:string
Defined in: blocks.ts:56
ID of the message containing this block
Inherited from ​
metadata? ​
readonlyoptionalmetadata:Record<string,any>
Defined in: blocks.ts:75
Additional metadata
Inherited from ​
mimeType? ​
readonlyoptionalmimeType:string
Defined in: blocks.ts:98
MIME type of the content (for media blocks)
Overrides ​
size? ​
readonlyoptionalsize:number
Defined in: blocks.ts:100
summary? ​
readonlyoptionalsummary:string
Defined in: blocks.ts:66
Human-readable summary of the content
Inherited from ​
type ​
readonlytype:"reference"|REFERENCE
Defined in: blocks.ts:96
Discriminator for type narrowing (e.g., 'text', 'image', 'tool_use')