search_notes
Search markdown notes by query text with case-insensitive matching. Limit results to a folder and include surrounding context lines for each match.
Instructions
Search notes containing the query text (case-insensitive).
Args: query: Text to search for folder: Optional subfolder to limit search scope context_lines: Number of lines before/after each match to include. When 0 (default), returns only matching file paths. When > 0, returns matches with surrounding context.
Returns: Newline-separated list of matching note paths, or formatted results with context for each match
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| folder | No | ||
| context_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |