Index Vault for Semantic Search
index_vaultRebuild or refresh the embedding index for semantic search and similar note retrieval. Process notes into heading-aware chunks, embed them, and persist the index incrementally or forcibly.
Instructions
Build or refresh the embedding index used by search_semantic and find_similar_notes. Splits each note into heading-aware chunks, embeds them via the configured provider (Ollama by default, OpenAI optional), and persists the index to <vault>/.obsidian/cache/mcp-pro-embeddings.json. Incremental: notes whose content hash matches the prior pass are skipped. Use force: true to re-embed everything (e.g., after switching models). Emits progress notifications when the client subscribes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If true, re-embed every note even if its content hash matches the cached one. | |
| folder | No | Restrict the indexing pass to this folder. Notes outside the folder are left untouched. |