The vault to scan.
FrontmatterSearchArgs. key is required and
exactly one of equals / exists / contains must be set.
{ key, total_matches, matches } — total_matches equals
matches.length (counts the truncated result, not the full count).
Find every note whose frontmatter matches a predicate.
Useful as a precursor to bulk operations like frontmatterSet: "find all notes with
status: draftand set their status topublished", or "find notes whosealiasesarray contains a typo". Single predicate per call by design — combine with multiple calls if you need AND/OR logic.