[Trouble Shooting] Assistant unable to retrieve bu...
# support
d
I have made sure that all my variables in MAKE are aligned to the same timezone and the correct webhooks are being used for the 'GetCurrentDateTime' tool and 'GetAvailableSlots' Tool. Here is a picture of the MAKE scenario. https://cdn.discordapp.com/attachments/1282299968568299582/1282299968756908115/image.png?ex=66deda68&is=66dd88e8&hm=707dfc673f4b464de39d854c67b36e6ac9b6f20193265dc32aa122b4eb599a6d&
Im not sure whether its issues with my make scenario itself or maybe the prompting isnt adequate.
v
@Dan That's great to hear that you've aligned your variables and webhooks correctly in MAKE. If you need any further assistance with your Voice API project or have any questions about the tools you're using, feel free to ask. I'm here to help!
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
share the call id.
d
e9693365-2e42-4f48-ac4a-fbd04f8324fc
@Shubham Bajaj
s
when your calling both tools together your not returning response correctly.
ref
šŸ”µ 08:45:08:242 Server Message Requested...(tool-calls , https://hook.eu2.make.com/k9yy0mjxyk2ritqxpnihxtew0sybnydi): { "type": "tool-calls", "toolCalls": [ { "id": "call_yjpnHt16p6wPprOYCj3BfciY", "type": "function", "function": {"name": "GetCurrentDateTime", "arguments": {}} } ], "toolCallList": [ { "id": "call_yjpnHt16p6wPprOYCj3BfciY", "type": "function", "function": {"name": "GetCurrentDateTime", "arguments": {}} } ], "toolWithToolCallList": [ { "type": "make", "function": { "name": "GetCurrentDateTime", "async": false, "parameters": { "type": "object", "properties": { "dateTime": { "type": "string", "description": "The current date and time." } } }, "description": "Get the current date and time." }, "async": false, "server": { "url": "https://hook.eu2.make.com/k9yy0mjxyk2ritqxpnihxtew0sybnydi" }, "messages": [], "toolCall": { "id": "call_yjpnHt16p6wPprOYCj3BfciY", "type": "function", "function": {"name": "GetCurrentDateTime", "arguments": {}} } } ] }
return response for both tool calls or call either.
d
{ "name": "checkBusySlots", "role": "tool_call_result", "time": 1726234997136, "result": "No result returned.", "toolCallId": "redacted", "secondsFromStart": 19.032 } Well, I am getting a response and in make it shows that its sending the busy time slots in the response
The problm then must be when make is sending the data back the VAPI server
Ive tried to stringify the data
Ive converted to JSON
Nothing is working
Better yet, I have a tool to collect the current date and time and that is working so I am baffled why this isnt
@Shubham Bajaj
s
send result as single line string it will work instead of multiline.
d
Cheers, works now!
7 Views