Preview the Voice Call setup
preview_setup_phone_agentShow what setup_phone_agent would do with the same arguments: which channel is created or updated, which of YOUR numbers is attached, objective, voice, inbound on/off. Nothing is attached or created. ALWAYS call first and show the user, then call setup_phone_agent with the same arguments after approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Agent id (UUID) — from list_agents | |
| speed | No | ||
| emotion | No | ||
| language | No | auto = script language; multi = switch to the caller's language | |
| voice_id | No | From list_retell_voices / list_voice_catalog | |
| call_script | No | ||
| voice_gender | No | ||
| ambient_sound | No | ||
| connection_id | No | Existing PHONE_CALL channel; default = the agent's first one or a new one | |
| call_objective | No | ||
| accept_incoming | No | Answer calls TO this number with an inbound agent | |
| phone_number_id | No | Required the first time — from list_phone_numbers | |
| greeting_message | No | ||
| enable_backchannel | No | ||
| communication_rules | No | ||
| end_call_silence_seconds | No | ||
| reminder_trigger_seconds | No | ||
| max_call_duration_seconds | No |