Build interactive voice response systems with keypad input and DTMF tones.
playDtmfSounds
tool is intended for use with telephony integrations.playDtmfSounds
tool allows your AI agent to send DTMF tones, which is useful for navigating Interactive Voice Response (IVR) systems or other phone trees. To enable the tool, add it to the selectedTools
array when creating a call or call stage:
playDtmfSounds
tool accepts a string parameter named digits
and works with the following tones: 0-9, *, #, A-D.
For example:
playDtmfSounds
tool uses an automatic parameter that sends the proper sample rate of the source audio and should be treated as an implementation detail.