how to force vapi to run a Tool while call in prog...
# support
s
how to force vapi to run a Tool while call in progress? is there a prompt specific or needed to setup somewhere? I need vapi to recognise the name just before the call is starting
v
@Sioux To force VAPI to run a tool while a call is in progress, you would typically need to set up a trigger or a command that the system recognizes during the call. This can be done by configuring a specific voice command or keyword that, when detected, prompts VAPI to execute the desired tool. If you want VAPI to recognize a name just before the call is starting, you would configure this in the assistant options, which are part of the initial setup when you start the assistant using
vapi.start(assistantOptions)
. You can define a specific action or tool to be triggered when a certain phrase or name is recognized. Would you like to set up a specific trigger or command now? If so, please provide me with the details of the trigger and the action you want to execute, and I can assist you further.
You can continue this conversation by mentioning me in the message.
s
@Sioux checkout server event request assistant to recognise the caller name right before the call. https://docs.vapi.ai/server-url/events#retrieving-assistants
s
Thanks
🔥
20 Views