Search documents (typo-tolerant)
search_fuzzyFind documents when a search term may be misspelled, using typo-tolerant similarity matching across indexed files and folders. Use it as a fallback when exact search returns nothing.
Instructions
Typo-tolerant search (trigram similarity) over the same documents. USE THIS ONLY when search_documents finds nothing or a term may be misspelled (e.g. 'lantren' finds 'lantern'); it is slower and less precise. Read-only. Covers only the folders indexed by RootMind that this connection may access, as of the last indexing run (files changed since may be missing). Pass the possibly misspelled term as query; min_similarity (0.1-1.0) trades recall for precision; the filters work as in search_documents. Returns up to limit hits with a similarity percentage, file name, ID, folder, snippet and a suggested read_document window; for more, raise limit.
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": "search_fuzzy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results (1-50, default 10). | |
| query | Yes | Search term, typos allowed. Finds similar words. | |
| folder | No | Optional: only documents in this indexed folder, by its name, case-insensitive (e.g. 'Unterlagen'; get_statistics lists the folders). | |
| file_type | No | Optional: only this file type, as the lowercase extension without a dot (pdf, docx, xlsx, pptx, md, txt, csv, ...). | |
| min_similarity | No | Minimum similarity 0.1-1.0 (default 0.3). Higher means fewer but closer matches. | |
| modified_after | No | Optional: only documents modified on or after this date (YYYY-MM-DD). | |
| modified_before | No | Optional: only documents modified on or before this date (YYYY-MM-DD). |