Search local files
searchHybrid search by meaning and exact words across your indexed local files, returning top matching files with their best passages for quick reading and citing. Supports scoped folder filters and paging.
Instructions
Hybrid search (by meaning + exact words) over the user's indexed local files.
Returns the best matching files, best first, each with its best passages (text, section heading, page, chunk number, link). Ranking matches Findling's web app.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of files. | |
| query | Yes | What to look for: a question, keywords, or "exact phrases" in double quotes. | |
| offset | No | Skip this many files (paging, see next_offset). | |
| within | No | Only search here: the full path of an indexed folder, a folder inside one, or a file (from browse or search results; case is ignored). | |
| max_chars | No | Budget for all passage texts together. Each file's best passage comes first; passages that don't fit become short excerpts, files that don't fit move to the next page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Hint about the result quality, if any. | |
| files | Yes | Best first. | |
| query | Yes | ||
| terms | Yes | Words and phrases used for the exact-word search (filler words removed). | |
| total | Yes | Files found. | |
| next_offset | No | Pass as `offset` to get the next files. | |
| match_quality | Yes | 'words_and_meaning': some files contain the query words. 'meaning_only': none do; results are only the closest by meaning and may be unrelated. |