search
Run full-text queries against a local SQLite vault index to find notes by title, tags, body, or commit SHA without downloading the vault. Returns best-matching notes first and reports when only partial term matches exist.
Instructions
CHEAP — start here. Full-text search over the local SQLite index of the vault; it never downloads the whole vault. Matches file stem, title, summary, tags and body, folds diacritics, expands synonyms and accepts "quoted phrases". A bare commit sha looks up the notes that mention it. A query that is exactly a note's stem, or its [[stem]] wikilink, puts that note first wherever it lives. Every term is required; when no note has them all, it returns the notes matching the most terms and says so in the header. Inflected forms match through stemming in the vault's languages. Search in the vault's language first; when nothing matches, translate the terms into the vault's other languages and search again, and the reply names them. Excludes the archive and superseded notes unless you ask for them, and reports how many it hid. limit defaults to the vault schema's search.default_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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| area | No | ||
| kind | No | ||
| limit | No | ||
| query | Yes | ||
| since | No | ||
| vault | No | ||
| folder | No | ||
| status | No | ||
| path_prefix | No | ||
| include_archive | No | ||
| include_superseded | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |