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).
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 |