search_notes
Search all Markdown notes for text and return each match with note, line, and context. Supports regex, case-sensitive search, and result limits.
Instructions
Searches text in all the notes (case-insensitive). Returns the note, line and context of each match, ordered by note and line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of matches (default 500). | |
| query | Yes | The text to search for, or a regular expression if regex is true. | |
| regex | No | If true, query is a regular expression (RE2). | |
| case_sensitive | No | If true, the search is case-sensitive. |