Vapi web widget not calling tool properly
# support
g
Hi Vapi Team, I have an assistant in my account that calls a tool (sendChatData) after completing an intake. When using the voice assistant over the phone, the tool is triggered successfully, and my n8n webhook receives the correct JSON payload. However, when using the same assistant logic in the Vapi web chat widget, the conversation reaches the tool call (confirmed in the chat log), but my webhook never receives the request. Details: • Tool is defined in the chat assistant config with HTTP method POST and correct Content-Type headers. • Asynchronous execution is off. • Webhook URL is public and works with the voice assistant. • Chat log shows the model issuing the tool call but the HTTP request is never sent. Could you please confirm: 1. If there are any differences in how tools are executed between phone calls and the web chat widget? 2. Whether I need additional configuration to enable HTTP tool execution in the chat widget. Thanks, Grayson Espinal
c
Hello Grayson, We are truly sorry for the inconvenience you are encountering and thanks for reporting this to us. We will look further into this and will get back to you. Thanks for your understanding.
Hi Grayson, Do you also have a caller ID we can refer to?
Hi Grayson, And the session ID as well
g
Sorry for my late response. Session ID: fc61aaa1-8054-4330-9b06-49e65fa88e8c
I'm not sure what you are referring to when you ask for Caller ID.
c
Call id is in the call logs. If you are using a chat window you will need to provide session or chat id. Screenshot attached https://cdn.discordapp.com/attachments/1404983835158118482/1407667691791323156/call_id.png?ex=68a6f032&is=68a59eb2&hm=87be80a57c180e0a1e915b1e4930195b840c4d58448e41d988b8c143c57334be&
g
I gave the session ID
Chat ID: 13bc345a-2f46-47f6-bd3e-791d897036ed
c
There wasn't a response from the server that the tool call was pointing to. Please check the logs if possible for the serverUrl for the tool:
Copy code
{
  "role": "tool",
  "tool_call_id": "call_JyZdyILyvxENkimUEKScEKDa",
  "content": "Tool Result Still Pending But Proceed Further If Possible."
}