query_documents
Search private documents locally using semantic and exact keyword matching, with metadata filters and scoring for precise results. Keeps data on your machine.
Instructions
Search your documents using both meaning and exact keyword matching. You can also use advanced syntax:
"exact phrase" → Match phrase exactly
field:value → Filter by custom metadata (e.g., domain:legal, author:john)
term1 AND term2 → Both terms required (default)
term1 OR term2 → Either term matches
-term → Exclude results containing term Results include a score (0 = best match, higher = less relevant). Set explain=true to see why each result matched.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "query_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| explain | No |