Nehal Azhar
03/30/2025, 6:48 PMVapi Support Bot
03/30/2025, 6:50 PMtransferCall
tool in your assistant? Are you using a hardcoded destination in the tool configuration or a dynamic destination?
2. Are you using the Vapi dashboard only, or are you also using the API for your configuration? (The dashboard [only supports one forwarding number](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1337027061172277329), while the API supports multiple/dynamic destinations)
3. Have you set up a server event for transfer-destination-request
to dynamically determine the transfer destination?
4. How is your assistant determining which department to transfer to? Is it based on user input during the conversation, or is there some other logic?
5. Could you share a snippet of your system prompt that contains the instructions for handling department transfers?
Sources:
- [Dynamic Call Transfers](https://docs.vapi.ai/phone-calling/dynamic-call-transfers)
- [Discord Thread on Dynamic Call Transfers](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1337027061172277329)
- [Discord Thread on Transfer Tool Configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1337383511329345588)Nehal Azhar
03/30/2025, 7:03 PMAditya
03/31/2025, 9:28 AMNehal Azhar
03/31/2025, 2:24 PMAditya
03/31/2025, 9:58 PMtransfer_call_tool
. args: {}...
Hey Nehal Azhar,
when using your prompt model is calling the tool without any arguments, that's why it's going to the default destination. You have to trigger the tool with the destination you want to use.
try the below prompt:
when you are triggering the transfer tool calll using your prompting you need to pass the destination as well followed by the keyword with, this gives the LLM an inference to call a tool with an argument.
trigger the transfer_call_tool with <destination>
Aditya
03/31/2025, 9:58 PMNehal Azhar
04/01/2025, 3:28 AMNehal Azhar
04/01/2025, 7:31 AMNehal Azhar
04/01/2025, 7:43 AMtrigger the transfer_call_tool with parameters {destination:<phonenumber>}
it started working fineAditya
04/01/2025, 10:08 PM