Duong
09/05/2025, 4:03 AM{
"type": "handoff",
"destinations": [
{
"type": "dynamic"
}
],
"function": {
"name": "handoff",
"description": "Call this function when the customer is ready to be handed off to the next assistant",
"parameters": {
"type": "object",
"properties": {
"destination": {
"type": "string",
"description": "Use dynamic when customer is ready to be handed off to the next assistant",
"enum": [
"dynamic"
]
},
"otp": {
"type": "number",
"description": "The OTP provided by the customer"
}
}
}
}
}
The call ID is e156ad94-175b-496e-8e13-f285cdfe3523
Thanks,Vapi Support Bot
09/05/2025, 4:04 AMjson
{
"type": "function",
"function": {
"name": "handoffWithOtp",
"parameters": {
"type": "object",
"properties": {
"destination": { "type": "string" },
"otp": { "type": "number" }
}
}
},
"server": { "url": "https://your-server.com/handoff" }
}
Update your assistant to use this tool, and your server will receive the OTP in the payload.
For more, see the [custom tools guide](https://docs.vapi.ai/tools/custom-tools).
Source:
- [Custom Tools](https://docs.vapi.ai/tools/custom-tools)Chiranjeet Mishra
09/08/2025, 2:19 PMtype: "handoff" with custom parameters.
2. Webhook Integration - Set up a webhook on your server that can accept these parameters and determine the destination assistant in real time.
3. Configure Parameters - In the tool configuration, specify which custom parameters you want to include in the webhook for routing logic.
4. Monitoring - Review the message metadata and adjust the routing logic as needed to ensure the parameters are being interpreted and utilized correctly.
For more details, you can refer to [August 2025 Changelog](https://docs.vapi.ai/changelog/2025/8/14) for updates regarding configuring the handoff tool with custom parameters.Duong
10/03/2025, 5:14 AMrequired: ['destination', 'otp'] property to make it work.
Thank you!Chiranjeet Mishra
10/06/2025, 7:25 PM