Skip to content

TranscriptToolResultEvent

TranscriptToolResultEvent = object

Tool-result event captured in a harness transcript.

optional content?: JsonValue

JSON-safe tool result content.


optional durationMs?: number

Tool execution duration in milliseconds.


optional error?: NormalizedError

Normalized tool error when execution failed.


optional finishedAt?: string

ISO timestamp for the end of tool execution.


optional metadata?: Record<string, JsonValue>

Extra JSON-safe tool-result metadata.


optional name?: string

Tool name when available from the provider or runtime.


optional startedAt?: string

ISO timestamp for the start of tool execution.


toolCallId: string

Tool-call id this result responds to.


type: "tool_result"

Transcript event discriminator.