Aurelius
06/10/2025, 4:53 AMVapi Support Bot
06/10/2025, 4:54 AMtransferCall tool to your assistant with your desired numbers:
json
{
"tools": [
{
"type": "transferCall",
"destinations": [
{ "type": "number", "number": "+1234567890", "message": "I am forwarding your call to Department A. Please stay on the line." }
],
"function": { "name": "transferCall" }
}
]
}
In your system prompt, instruct the assistant when to use each number (e.g., "If the user asks for sales, call the transferCall function with +1234567890."). This will let your assistant transfer calls to the specific number you want.
Reference: [Vapi call forwarding documentation](https://docs.vapi.ai/call-forwarding)
Source:
- [Vapi Call Forwarding Documentation](https://docs.vapi.ai/call-forwarding)Kings_big💫
06/10/2025, 6:13 AMAurelius
06/10/2025, 6:28 AMKings_big💫
06/10/2025, 6:32 AMAurelius
06/10/2025, 6:41 AMAurelius
06/10/2025, 6:48 AMKings_big💫
06/10/2025, 7:10 AMAurelius
06/10/2025, 7:19 AM"tools": [
{
"id": "-------------------------------------",
"createdAt": "2025-05-31",
"updatedAt": "2025-06-10",
"type": "transferCall",
"function": {
"name": "transfer_call_tool",
"parameters": {
"type": "object",
"required": [],
"properties": {}
},
"description": "trigger a live call transfer to a human agent"
},
"messages": [],
"orgId": "000000000000000000000",
"destinations": [
{
"type": "number",
"number": "+11111111",
"message": "I am forwarding your call to Department A. Please stay on the line.",
"description": "Department A",
"transferPlan": {
"mode": "blind-transfer",
"sipVerb": "refer"
},
"numberE164CheckEnabled": true
}
]
}
]Aurelius
06/10/2025, 7:19 AMAurelius
06/10/2025, 7:20 AMAurelius
06/10/2025, 7:20 AMAurelius
06/10/2025, 7:33 PMAurelius
06/10/2025, 7:33 PMChiranjeet Mishra
06/10/2025, 8:30 PMShubham Bajaj
06/10/2025, 8:50 PMjson
{
"type": "transferCall",
"function": {
"name": "transfer_call_tool"
},
"destinations": [
{
"type": "number",
"number": "+11111111",
"message": "I am forwarding your call to Department A...",
"description": "Department A"
}
]
}
To trigger the transfer, add this to your system prompt:
When the user asks to speak with a human agent or Department A, call the transfer_call_tool function with the phone number "+11111111".
That's it! Your assistant will automatically call the function when appropriate, and Vapi handles the rest. The confusion earlier was from incorrect examples - ignore the "phoneNumber" field stuff, it doesn't exist.Aurelius
06/21/2025, 11:21 AMAurelius
06/21/2025, 11:21 AMAurelius
06/21/2025, 11:22 AMAurelius
06/21/2025, 11:22 AMKings_big💫
06/21/2025, 11:48 AMAurelius
06/21/2025, 12:39 PMAurelius
06/21/2025, 1:04 PMChiranjeet Mishra
06/21/2025, 10:11 PM{{ "now" | date: "%Y-%m-%d", "UTC" }} to the assistant prompt not the calendar tool, and in [Make.com](http://Make.com), use a tool step to get the current date and format it with parseDate and formatDate before sending to the calendar in ISO format..