TranscriptToolResultEvent
TranscriptToolResultEvent =
object
Tool-result event captured in a harness transcript.
Properties
Section titled “Properties”content?
Section titled “content?”
optionalcontent?:JsonValue
JSON-safe tool result content.
durationMs?
Section titled “durationMs?”
optionaldurationMs?:number
Tool execution duration in milliseconds.
error?
Section titled “error?”
optionalerror?:NormalizedError
Normalized tool error when execution failed.
finishedAt?
Section titled “finishedAt?”
optionalfinishedAt?:string
ISO timestamp for the end of tool execution.
metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,JsonValue>
Extra JSON-safe tool-result metadata.
optionalname?:string
Tool name when available from the provider or runtime.
startedAt?
Section titled “startedAt?”
optionalstartedAt?:string
ISO timestamp for the start of tool execution.
toolCallId
Section titled “toolCallId”toolCallId:
string
Tool-call id this result responds to.
type:
"tool_result"
Transcript event discriminator.