query_notes
Search notes by frontmatter conditions with type-aware operators, and narrow results by folder and tags, with pagination support.
Instructions
Find notes whose frontmatter satisfies a set of conditions, as note headers. Each condition is a bare scalar (equality / array-membership) or an operator object { eq, ne, gt, gte, lt, lte, exists, contains }. Comparisons are type-aware (numbers, ISO dates, strings). match: all (default) or any (governs the where conditions only). Narrow further with folder and tags (any of them).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Additionally restrict to notes carrying these tags (leading '#' optional); any of them. | |
| limit | No | Maximum number of notes to return (default 100; 0 = unbounded) | |
| match | No | Require all (default) or any of the where conditions (governs the where conditions only) | |
| where | Yes | Map of property key to condition (scalar or { eq/ne/gt/gte/lt/lte/exists/contains }) | |
| folder | No | Restrict to notes under this folder. | |
| offset | No | Rows to skip, for pagination (default 0). |