ToolCallRecord
ToolCallRecord =
object
Normalized record for one tool call observed during a harness run.
Example
Section titled “Example”const call: ToolCallRecord = { name: "lookupInvoice", arguments: { invoiceId: "inv_123" }, result: { refundable: true },};Properties
Section titled “Properties”arguments?
Section titled “arguments?”
optionalarguments?:Record<string,JsonValue>
JSON-safe tool arguments after provider/runtime normalization.
durationMs?
Section titled “durationMs?”
optionaldurationMs?:number
Tool execution duration in milliseconds.
error?
Section titled “error?”
optionalerror?:object
Normalized tool error when execution failed.
Index Signature
Section titled “Index Signature”[key: string]: JsonValue | undefined
message
Section titled “message”message:
string
optionaltype?:string
finishedAt?
Section titled “finishedAt?”
optionalfinishedAt?:string
ISO timestamp for the end of tool execution.
optionalid?:string
Provider or runtime tool-call id when one is available.
metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,JsonValue>
Extra JSON-safe tool metadata for reporters and custom judges.
name:
string
Tool name as exposed to the agent or application runtime.
result?
Section titled “result?”
optionalresult?:JsonValue
JSON-safe tool result returned by the application tool.
startedAt?
Section titled “startedAt?”
optionalstartedAt?:string
ISO timestamp for the start of tool execution.