Unpacking response in vapi-ai Web SDK from Make webhook

Hi There,

So I am trying to make a simple call from vapi assistant in web sdk, I have setup tool calls and have shared the webhook url. It basically takes the call and returns a static json back to the vapi agent.

But I am not able to see the response json in the tool_call_result in vapi all i see is result: success and the vapi agent is responding [speaking out the response as context of the answer], but i want the exact json so that i can map that json to my components in front-end.

Can anyone help me with this.

Image of basic scenario:

Thankyou.