search_vault
Search an Obsidian vault for text, returning matching files with optional context lines, folder limits, and case-sensitive matching.
Instructions
Search the vault for text and return matching files (JSON).
Set context=True to also get the matching lines around each hit, path to
limit to a folder, limit to cap results, and case=True for case-sensitive
matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| path | No | ||
| limit | No | ||
| context | No | ||
| case | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |