Documentation / @agentick/shared / UserActionBlock
Interface: UserActionBlock
Defined in: blocks.ts:306
User action block - Records a user-initiated action
The text field provides a human-readable formatted representation, typically populated via JSX children. Model config uses this for output while preserving semantic info (action, actor, etc.) for delimiter targeting.
Extends
Properties
action
readonlyaction:string
Defined in: blocks.ts:308
actor?
readonlyoptionalactor:string
Defined in: blocks.ts:309
createdAt?
readonlyoptionalcreatedAt:string
Defined in: blocks.ts:58
ISO 8601 timestamp when this block was created
Inherited from
details?
readonlyoptionaldetails:Record<string,any>
Defined in: blocks.ts:311
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:64
Additional metadata
Inherited from
mimeType?
readonlyoptionalmimeType:string
Defined in: blocks.ts:60
MIME type of the content (for media blocks)
Inherited from
summary?
readonlyoptionalsummary:string
Defined in: blocks.ts:66
Human-readable summary of the content
Inherited from
target?
readonlyoptionaltarget:string
Defined in: blocks.ts:310
text?
readonlyoptionaltext:string
Defined in: blocks.ts:313
Formatted text representation (from JSX children)
type
readonlytype:"user_action"|USER_ACTION
Defined in: blocks.ts:307
Discriminator for type narrowing (e.g., 'text', 'image', 'tool_use')