Function calls and outputs are parallel arrays: the output at a given index
belongs to the call at the same index, and its callId matches the paired
function call's callId.
ReadonlyhasAgentHandoff: boolean
Whether a tool in this batch hands off to another agent that will start.
ReadonlyhasToolReply: boolean
Whether any output in this batch asks the model to reply.
type: "function_tools_executed"
cancelAgentHandoff:function
cancelAgentHandoff(): void
Keep the current agent: the handoff returned by a tool in this batch does not start.
Returns void
cancelToolReply:function
cancelToolReply(): void
Ask the model not to reply to this batch. Each output is still delivered, since a realtime
model holds the call open until it is answered.
Function calls and outputs are parallel arrays: the output at a given index belongs to the call at the same index, and its
callIdmatches the paired function call'scallId.