Tool run every query
# support
b
Hey Vapi team, Is it possible to have a tool run every query?
v
@bertiefa Absolutely! You can configure your server to trigger a specific tool for every query received. This can be done by setting up a middleware or a handler in your server code that intercepts all incoming requests and processes them with the desired tool before sending out a response. If you need assistance with the implementation or have any specific requirements, please let us know, and we'd be happy to help guide you through the process.
You can continue this conversation by mentioning me in the message.
b
I understand the concept of this but how would I implement it in practice?
j
Can you explain your question more please
b
Is it possible to outreach my response to my own server every time?
j
Can you give an example of what you need
In detail
s
after/with every instruction add the instruction to trigger the tool call and it will work.
4 Views