Voicemail Tool
Learn how to use the assistant-controlled voicemail tool for flexible voicemail handling
Learn how to use the assistant-controlled voicemail tool for flexible voicemail handling
The voicemail tool gives your assistant direct control over what happens when it reaches a voicemail system. Unlike automatic voicemail detection, which operates independently of your assistant, this tool lets your assistant decide when it’s hit voicemail and then either leave a configured message or silently end the call — depending on how you’ve set it up.
Key benefits:
When you add the voicemail tool to your assistant:
This approach differs from automatic voicemail detection, which detects voicemail at the system level. The voicemail tool puts detection and response entirely in the assistant’s hands, so reliability depends heavily on your system prompt — see Detection prompting below for the indicators your prompt should explicitly call out.
When you configure the voicemail tool, you choose what the caller hears once voicemail is detected:
Two fields work together to drive these modes: the tool’s messages array (which can hold a request-start message with optional template variables) and the assistant-level voicemailMessage property. The dashboard radio buttons orchestrate these for you, but if you’re configuring via the API, set the fields directly:
Add the voicemail tool to your assistant and configure your system prompt to invoke it when voicemail is detected.

To reuse the same voicemail across an assistant without configuring the tool separately, leave the tool’s messages empty and set voicemailMessage on the assistant:
For custom-script mode, define the voicemail message inline:
You can set a hardcoded message, or use template variables like {{company}}, {{message}}, and {{phone}} that are substituted at call time. See Variables for how to pass values.
To silently terminate the call on voicemail, leave the tool’s messages array empty and clear voicemailMessage on the assistant:
Use this mode for outbound outreach where the value is a live conversation and a missed voicemail is fine — silent termination keeps the call short and avoids the cost of running it to the max-duration cap.
For consistent quality and pronunciation, use pre-recorded audio files by providing the URL in the content field:
Pre-recorded audio messages are ideal for brand-specific messaging or when you
need precise pronunciation of phone numbers, website URLs, or company names.
Supported formats: .wav and .mp3 files.
Be specific about voicemail indicators in your system prompt:
For auto-attendants and IVR menus, add cues like:
Keep voicemail messages:
Consider edge cases:
Avoid combining the voicemail tool with automatic detection, as this could result in false positives and other complications.
Choose the voicemail tool when you need maximum flexibility and cost efficiency. Choose automatic detection when you need guaranteed system-level detection without relying on assistant prompting.