Codyx
03/08/2026, 5:44 PMAI Evy
03/08/2026, 5:45 PMAI Evy
03/08/2026, 5:45 PMagent_interrupt event: [(1) ]()
json
{
"response_type": "agent_interrupt",
"interrupt_id": 1,
"content": "One moment while I transfer you...",
"content_complete": true,
"no_interruption_allowed": true
}
This immediately interrupts both agent and user to speak content, preventing dead air during tool execution.
2. Turntaking Events
The update_only events include a turntaking field that indicates when speaker changes occur (agent_turn or user_turn) . This field can be helpful for determining when to call functions in the call.
3. Transfer Execution
When ready to execute the transfer, include transfer_number in your response event:
json
{
"response_type": "response",
"response_id": 5,
"content": "Transferring you now.",
"content_complete": true,
"transfer_number": "+12137771234"
}AI Evy
03/08/2026, 5:45 PMagent_interrupt with filler speech or force the transfer via a response event
Note: The reminder_trigger_ms and reminder_max_count parameters exist but are designed for when the user is silent, not for tool execution delays. [(3) ]()AI Evy
03/08/2026, 5:45 PMAI Evy
03/08/2026, 5:45 PMCodyx
03/08/2026, 5:46 PMCodyx
03/08/2026, 5:46 PM