problem with tool result
# support
v
Hey i am facing an error with tool calling on an appointment setter. The tool calls correctly and for example gives webhook trigger response "appointment booked" but the assistant keeps saying "just a moment" before eventually telling me theres no slots available. Any one know how to fix this? Happy to share prompt or make blueprint if neccessary. Thanks in advance!
v
@Vince Hello! It sounds like there might be an issue with the way the assistant is handling the webhook response or a delay in the processing of the booking confirmation. To help you better, I would need to see the prompt or blueprint you're using to understand how the tool is being called and how the assistant is programmed to respond to different webhook responses. If you could share the relevant part of the prompt or the blueprint that handles the tool calling and the assistant's responses, that would be very helpful. Once I have that information, I can provide you with more targeted assistance to resolve the issue.
You can continue this conversation by mentioning me in the message.
v
doe you want the blueprint as json?
s
call id please.
v
6b0022d5-b890-4990-9821-5358331b8a62
69d6302a-5420-484c-97d6-9bb7f2bc1713
in the first one the body of the response was: appointment booked with quotation marks, in the second without. doesnt make a difference
Hey man 🙂 any updates yet?
mistake might be on my end but it worked before thats why im wondering
s
@Vince return the response in following format and it will work https://docs.vapi.ai/tools-calling#server-response-format-providing-results-and-context
v
got it, have a blessed day!
t
Hi , I am facing the same issue could you please mind telling me how you solved the issue ?
s
Hey @Tanzin Chhemit please create a new #1211483291191083018 ticket for your issue.
11 Views