find_in_note
Search for a regex pattern inside a specific note and retrieve paginated matches. Supports case sensitivity, multiline, and dotall flags.
Instructions
Search for a regex pattern inside a specific note and return paginated matches.
Multiline mode is enabled by default so anchors like ^/$ operate per line,
matching the common expectations for checklist-style searches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_id | Yes | Note ID to search within | |
| pattern | Yes | Regular expression to search for | |
| limit | No | Max matches per page (1-100, default: 20) | |
| offset | No | Skip count for pagination (default: 0) | |
| case_sensitive | No | Use case-sensitive matching (default: False) | |
| multiline | No | Enable multiline flag (affects ^ and $, default: True) | |
| dotall | No | Dot matches newlines (re.DOTALL, default: False) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |