Skip to content

ToolCallRecord

Defined in: src/session.ts:41

Record of a tool call made during a session

Properties

arguments

arguments: Record<string, unknown>

Defined in: src/session.ts:47

Arguments passed to the tool


durationMs

durationMs: number

Defined in: src/session.ts:53

Time taken to execute the tool in milliseconds


id

id: string

Defined in: src/session.ts:43

Unique identifier for this tool call (from the model response)


isError

isError: boolean

Defined in: src/session.ts:51

Whether the tool execution resulted in an error


name

name: string

Defined in: src/session.ts:45

Name of the tool that was called


output

output: string

Defined in: src/session.ts:49

Output returned by the tool