search_vault
Find any text or pattern across all vault notes. Enter plain text or regex, optionally filter by folder, and get matching files with line numbers and context.
Instructions
Full-text search across all notes in the vault. Supports plain text and regex patterns. Returns matching files with line numbers and context. Can filter by folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query. Plain text by default; set regex=true for regular expressions. | |
| regex | No | Treat the query as a regular expression. | |
| folder | No | Limit search to a specific folder (relative to vault root). | |
| maxResults | No | Maximum number of matching files to return. Default: 20. | |
| caseSensitive | No | Whether the search is case-sensitive. Default: false. |