Hi Guys I had a question on how should I call tool...
# general-english
c
Hi Guys I had a question on how should I call toolcall using my own endpoint on FASTAPI application I am currently using hookdeck to get my webhook and registering it to both places the toolcall definition and serverurl of the assistant So when a call happens and lets say I ask it give me a list of all items....It should call the toolcall which is triggers my endpoint the FASTAPI endpoint... The problem here is the response...whom should I send the back the response to ? is it back to server url i.e my. webhook like post request again to same webhook (that resulted in triggering in the first place) ? The idea is with response sent the my assistant should response saying here are the list of clinics So I am bit confused...here Here is workflow OnCall(with assistant) ---> Users asks for list ---> triggers webhook ---> webhook triggers my FASTAPI endpoint ---> gets response --> Where should the response be sent back to ? So AT THE MOMENT I AM ABLE TO SEE THE TRIGGERING EVENT BY TOOLCALL BUT DON'T KNOW HOW TO SEND MY PAYLOAD...however, I definitely send the payload show in the same format as that of vapi docs
2 Views