Search Vault
vault_searchQuery document contents with full-text or semantic search. Retrieve relevant vault documents by exact terms or conceptual meaning.
Instructions
Full-text or semantic search across document contents.
Default (semantic=False): SQLite FTS5 keyword search. Supports FTS5 syntax:
Simple words: depreciation schedule
Phrases: "rental income"
Boolean: depreciation AND schedule
Negation: rental NOT commercial
Prefix: deprec*
Semantic (semantic=True, Pro only): hybrid vector + BM25 search via LanceDB.
Finds documents by meaning even when exact keywords differ. Requires
LoreDocs Pro and pip install loredocs[pro]. Falls back to FTS5 if the
semantic index has not been built yet (run vault_rebuild_index first).
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": "vault_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| vault | No | ||
| offset | No | ||
| semantic | No | ||
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |