Don't receive server event 'tool-calls'
# support
d
The tool call itself is with Make. The tool call itself works, but it doesn't sent the information as server event to my Server URL. All other events work
v
@Dima I'm here to help! To ensure that the tool call sends the information as a server event to your Server URL, we need to check a few things: 1. Verify that the Server URL is correctly configured in the tool settings. 2. Ensure that the event is properly set up to trigger the server event. 3. Confirm that there are no issues with the network or server that might be preventing the event from being sent. Could you please provide me with the current Server URL you have configured? Once I have that, I can assist you in updating it if necessary.
You can continue this conversation by mentioning me in the message.
d
There are no issues with all of those items because I receive other events. I checked all events in VAPI
v
Got it. Tagging @User for additional help.
v
I have the same problem, my webhooks are not receiving information fromy my tools functions, and i have tried with the make connection using the vapi connector and also using a custom webhook both within make, but the webhook doesnt seem to receive any information
s
can you share call id and expected tool to be called at what seconds from start?
d
@Shubham Bajaj one sec I will reproduce it. By the way, the tool calls are present in the end-of-call-report server event
Actually I have one in logs: Call id: 298003c0-92a3-446f-b8dd-226af3819f49 { toolCalls: [Array], role: 'tool_calls', message: '', time: 1729023865344, secondsFromStart: 32.104 } I got this from end of call report server event. But that call didn't have a single event for tool calls
s
@Dima i do see tool call for your server url with the input parameters.
Copy code
{
  "id": "call_71fs",
  "type": "function",
  "function": {
    "name": "sendUserName",
    "arguments": {
      "name": "Dmitri"
    }
  }
}
let me know what else i am missing here,
d
@Shubham Bajaj Well I haven't received it during the call. And also in the webhook logs it's missing. I looked through 10 pages and there are no tool call events https://cdn.discordapp.com/attachments/1295691494694453269/1297246714343854110/Screenshot_2024-10-19_at_1.14.27_PM.png?ex=67153aa6&is=6713e926&hm=0a8dbcee07b564bcaee26309a65536b1ebbf3a0652820bbe2aa03b0462b46e44&
s
@Dima check this, šŸ”µ 20:24:25:347 Server Message Requested...(tool-calls , https://hook.us1.make.com/1l6wcrrocnlebaeyuegh6rpucz2taxxu): { "type": "tool-calls", "toolCalls": [ { "id": "call_71fs", "type": "function", "function": { "name": "sendUserName", "arguments": {"name": "Dmitri"} } } ], "toolCallList": [ { "id": "call_71fs", "type": "function", "function": { "name": "sendUserName", "arguments": {"name": "Dmitri"} } } ], "toolWithToolCallList": [ { "type": "make", "function": { "name": "sendUserName", "async": false, "parameters": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the user" } } }, "description": "Whenever user gives his name, save it" }, "async": false, "server": { "url": "https://hook.us1.make.com/1l6wcrrocnlebaeyuegh6rpucz2taxxu" }, "messages": [], "toolCall": { "id": "call_71fs", "type": "function", "function": { "name": "sendUserName", "arguments": {"name": "Dmitri"} } } } ] }
d
@Shubham Bajaj I understand that the hook itself worked, I mentioned it in the original message. It also appeared in "end_of_the_call" server event. But, I didn't get any "tool_call" server events(logs)
all other events are working correctly
s
regarding logs let me check with team.
d
Thanks
s
@Dima you can check now the issue is resolved.
11 Views