How to Generate IVR Prompts with Copilot
Create IVR prompts in your IDE with Copilot and ToolRouter. Phone system audio for developers.
ToolVoice GeneratorCopilot generates IVR prompts within your IDE and can produce the phone system integration code alongside the audio files. This is ideal for developers building or maintaining Twilio, Asterisk, or RingCentral phone systems who want to manage voice assets as part of their infrastructure code.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Voice Generator tool:
- In Copilot Chat: "Generate IVR prompt audio files for these menu options" and list them
- Copilot generates each prompt and provides download links
- Ask for Twilio or Asterisk integration code alongside the audio
- Upload the files to your phone system programmatically
Example Prompt
Try this with Copilot using the Voice Generator tool
Generate IVR prompts for a Twilio-based phone system: greeting, sales transfer, support transfer, and voicemail instructions.
Tips
- Copilot can generate both the audio files and the Twilio routing code
- Useful for developers building or maintaining phone system infrastructure
- Keep prompts under 30 seconds -- callers hang up on long menus