Documentation / @agentick/shared / ToolResultBlock
Interface: ToolResultBlock
Defined in: blocks.ts:197
Tool result block - Function/tool call result
Extends
Properties
content
readonlycontent:ContentBlock[]
Defined in: blocks.ts:201
createdAt?
readonlyoptionalcreatedAt:string
Defined in: blocks.ts:58
ISO 8601 timestamp when this block was created
Inherited from
executedBy?
readonlyoptionalexecutedBy:ToolExecutor
Defined in: blocks.ts:207
Who executed this tool.
See
ToolExecutor for possible values
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
isError?
readonlyoptionalisError:boolean
Defined in: blocks.ts:202
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
name
readonlyname:string
Defined in: blocks.ts:200
summary?
readonlyoptionalsummary:string
Defined in: blocks.ts:66
Human-readable summary of the content
Inherited from
toolUseId
readonlytoolUseId:string
Defined in: blocks.ts:199
type
readonlytype:"tool_result"|TOOL_RESULT
Defined in: blocks.ts:198
Discriminator for type narrowing (e.g., 'text', 'image', 'tool_use')