Search by Frontmatter
search_by_frontmatterFind notes in an Obsidian vault by matching YAML frontmatter property-value pairs. Supports case-insensitive comparison and array values. Filter by metadata such as status, type, or tags to locate relevant notes quickly.
Instructions
Find notes whose YAML frontmatter contains a given property/value pair. Comparison is case-insensitive; for array-valued properties, a match is declared if any element matches. Returns matching note paths with their full frontmatter. Use to filter notes by metadata like status, type, or tags stored in frontmatter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to match against the property (case-insensitive; matches any array element) | |
| folder | No | Restrict search to this folder relative to the vault root (omit to search entire vault) | |
| property | Yes | Frontmatter key to look up (e.g., 'status', 'type', 'author') | |
| maxResults | No | Maximum number of matching notes to return (1-500, default: 50) |