Is it possible for a tool to run at the same time ...
# support
p
Is it possible for a tool to run at the same time as the assistant’s TTS output? What I want is to use the caller’s phone number to send an API request and retrieve related information simultaneously with the greeting (to reduce latency). and how can I access the phone number of the caller who initiated the call? thank you
k
Yes, use {{customer.number}} to get the caller’s phone number, and call a vapi tool function to fetch related info concurrently while the assistant delivers its TTS greeting to reduce latency..
p
@Kings_big💫 Does the dashboard support calling VAPI tool functions concurrently (in parallel)?
c
Yes, depending on the tool you can enable
async
on the tool settings, which will run the tool while the bot is speaking.
2 Views