adverse-sapphire•4h ago
Handoff tool not pass custom parameter to server
We are trying to build a dynamic agent that will first verify the user identity by a OTP, then it will route to another transient assistant that will change the settings based on the inputs from the handoff tool. The issue is that the handoff tool is called, the OTP parameter is not sent to the sever.
The call ID is e156ad94-175b-496e-8e13-f285cdfe3523
Thanks,
1 Reply
To ensure your OTP parameter is sent to the server, consider defining a custom tool instead of using the built-in handoff/transfer tool. Here’s a sample custom tool payload that will pass the OTP to your server:
Update your assistant to use this tool, and your server will receive the OTP in the payload.
For more, see the custom tools guide. Source: - Custom Tools
For more, see the custom tools guide. Source: - Custom Tools
⤵️ Mention @Vapi Support Bot for follow-ups 🐥