Overview
The Query Tool is the underlying mechanism that powers Sulus's Knowledge Base feature. While the general Knowledge Base page covers the concept and the fastest dashboard-based path to attaching files to an assistant, this page is specifically about the type: "query" tool object itself — how to build one directly through the API, reference multiple knowledge bases in a single tool, and attach it to an assistant with fine-grained control.
If you just want the quickest way to give an assistant a knowledge base, see the Knowledge Base page. Use this page when you need the API-level detail: managing file IDs directly, combining several knowledge bases in one tool, or troubleshooting why an assistant isn't using its knowledge base.