search_notes_tool
Search Obsidian notes by full-text query with exact, regex, or fuzzy modes. Get ranked results with snippets, tags, and frontmatter filtering for precise retrieval.
Instructions
Full-text search with snippets and relevance ranking. mode: 'exact' (default) | 'regex' | 'fuzzy'. data.items: [{path, score, snippets, tags}]. frontmatter_filter: combine with the text search in one call — same shape as query_notes_tool's (plain value = exact match, or {"$ne": v} / {"$nin": [...]} / {"$exists": bool}). field: None/'body' (default, search note content) | 'filename' (match only the file name). threshold: fuzzy-match similarity cutoff 0-1 (only used when mode='fuzzy'; lower = looser matches, higher = less noise).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| mode | No | exact | |
| field | No | ||
| limit | No | ||
| query | Yes | ||
| vault | No | ||
| threshold | No | ||
| frontmatter_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||