vault_sync
Syncs an Obsidian vault to searchable memory by scanning markdown files, extracting frontmatter, tags, and wiki-links, and storing content with incremental updates based on modification times.
Instructions
Sync an Obsidian vault to memory. Scans for markdown files, extracts frontmatter/tags/wiki-links, embeds content, and stores as searchable memories. Uses incremental sync based on file modification times.
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": {
"vault_path": "<vault_path>"
},
"name": "vault_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_path | Yes | Absolute path to the Obsidian vault directory | |
| chunk_size | No | Target chunk size in characters for large files (~4 chars per token) | |
| chunk_overlap | No | Overlap between chunks in characters for context preservation | |
| force | No | If true, re-sync all files regardless of modification time | |
| include_patterns | No | Only sync files matching these glob patterns (e.g., ["notes/**", "projects/**"]) | |
| exclude_patterns | No | Skip files matching these glob patterns (e.g., ["templates/**", "daily/**"]) |