End Call
End the current call when the user is done:Transfer Call
Transfer to a human agent or another phone number:Transfer Options
| Type | Behavior |
|---|---|
COLD_TRANSFER | Immediately connect to the new number |
WARM_TRANSFER | Agent stays on while connecting |
Hold Music
| Value | Sound |
|---|---|
"ringtone" | Standard ring tone |
"relaxing_sound" | Calm background music |
"uplifting_beats" | Upbeat hold music |
"none" | Silence |
Example: Complete Agent
Tips
Guide end_call in the prompt
Guide end_call in the prompt
Tell the LLM when to end: “Call end_call when the user says goodbye or thanks.”
Always return from action tools
Always return from action tools
Even if the action just sends an event, return something (even
None) so the LLM knows it succeeded.Log transfers for review
Log transfers for review
Track transfer reasons to identify patterns and improve your agent.

