ToolCalledEvent
Defined in: packages/realtime/src/lib/realtime-session/session-event-bus.ts:117
A provider tool call arrived and is about to be dispatched.
Properties
Section titled “Properties”argumentsJson
Section titled “argumentsJson”
readonlyargumentsJson:string
Defined in: packages/realtime/src/lib/realtime-session/session-event-bus.ts:127
Raw JSON arguments exactly as the provider sent them; may contain user speech.
callId
Section titled “callId”
readonlycallId:ToolCallId
Defined in: packages/realtime/src/lib/realtime-session/session-event-bus.ts:123
Provider correlation identity of the call.
generation?
Section titled “generation?”
readonlyoptionalgeneration?:number
Defined in: packages/realtime/src/lib/realtime-session/session-event-bus.ts:121
Session generation captured before subscriber callbacks. Absent in legacy events.
readonlyname:string
Defined in: packages/realtime/src/lib/realtime-session/session-event-bus.ts:125
Tool name as the provider sent it, including names the session does not know.
readonlytype:"tool.called"
Defined in: packages/realtime/src/lib/realtime-session/session-event-bus.ts:119
Discriminant.