I am not able to get tool-call, function-call events from the webhook for a API Request I have created in tools . It is making the tool call but I need some info from call and assistant metadata which I am not receiving from a simple POST API. So thought of implementing that using vapi webhook events by searching the name of tool in tool-call event. But not receiving it.
I am getting other events such as conversation-update, status-update, end-of-call-report if I add these in Server Messages but not tool-call and function-call. I have added tool via tool ID.
Thanks for the help.
Edit: I have observed that if I add a server URL then it is not sending the webhook event. And if I am not sending the webhook event then I am reciving the tool-event. Is it intended?
https://cdn.discordapp.com/attachments/1228667357849849856/1419637937573859338/image.png?ex=68d27c5b&is=68d12adb&hm=d9fab77dc89116d2044ec348611d348a1840a3453870674ebc1eda16a91ccfe8&