Find notes by frontmatter predicate
obsidian_frontmatter_searchFind notes by frontmatter key with equality, existence, or array membership predicates. Enables bulk frontmatter updates after filtering.
Instructions
Find every note where frontmatter. matches a predicate. Useful as a precursor to bulk frontmatter_set: 'find all notes with status:draft and set their status to published'. Predicates are exclusive: pass exactly one of equals (strict equality), exists (key must be present), contains (for array values, member match).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Frontmatter key to test | |
| equals | No | Strict equality predicate (JSON.stringify comparison) | |
| exists | No | Predicate: key must exist (any value) | |
| contains | No | For array values, value must be a member | |
| folder | No | Restrict search to a folder | |
| limit | No | Max matches (default 100) |