Update an IVR

Update an IVR.

MCP tool

update_ivr

Tool parameters

You need to specify the following parameters in your request.

Note: The supported parameters are not limited to those listed below. You can ask your MCP client what other settings are supported using a prompt such as "What settings can I update for an IVR?".
Parameter Required Description
number Yes The IVR number.
Note: The number itself cannot be changed.
name No The IVR name.
prompt No The name of the IVR prompt. Valid values are default or the name of an existing custom prompt file on the PBX. Up to five prompts are supported; separate multiple prompt names with commas, for example, default,IVR.wav.The IVR prompt that plays greeting and explains the IVR menu options to callers.
Note: If you are unsure which values are supported, you can ask your MCP client using a prompt such as "How can I get the available prompt?"
prompt_repeat No The number of times to repeat the prompt.
digit_timeout No The number of seconds to wait between key presses.
resp_timeout No The number of seconds to wait for the caller to operate.
press_key_option_list No The complete list of key routes. Providing this list replaces all existing key routes.

Configure what happens when a caller presses a key or does not respond. Each key route includes:

  • Key:0–`9`, * (star), # (hash), invalid input, or no response before timeout.
  • Input type: PIN list (pin_list) or single key (single_key).
  • When it applies: all the time (all_time), during global office hours (global_office_time), during custom office hours (custom_office_time), or during custom time periods (custom_time_periods).
  • Action: end the call (end_call); send it to an extension (extension), extension voicemail (ext_vm), group voicemail (group_vm), another IVR (ivr), a ring group (ring_group), a queue (queue), or an external number (external_num); dial by name (dial_by_name); play a greeting (play_greeting) or prompt (play_prompt); join a conference (conference); follow a call flow (call_flow); or connect to an AI receptionist (ai_receptionist).
  • Destination: the destination number, such as 1000. An internal destination ID can also be used.
  • Caller ID name: the name to display for the default destination.

Example

The following example demonstrates how to use a natural language request in Codex to call this tool and update an IVR.

Prompt example
Change key 1 in IVR 6204 to route to extension 1000.
Response example