Anwin
09/19/2025, 8:39 AMVapi Support Bot
09/19/2025, 8:40 AMquery_tool). For example, add this to your system prompt:
json
{
"role": "system",
"content": "When users ask about HVAC software, use the 'query_tool' to search the knowledge base for answers. Always call the query_tool before responding."
}
Update and republish your assistant after making this change.
[See documentation for details](https://docs.vapi.ai/knowledge-base/using-query-tool).
Source:
- [Using the Query Tool for Knowledge Bases](https://docs.vapi.ai/knowledge-base/using-query-tool)Anwin
09/19/2025, 1:36 PMChiranjeet Mishra
09/23/2025, 4:02 AMmessages for your query tool, we suggest removing them as sometimes they can prevent successful reads from knowledge bases. As for chat/widget functionality with KBs, you will have to run some tests as sometimes the results can be inconsistent. Let us know how it goes for you