enquire-mcp API reference - v4.0.0-rc.7
    Preparing search index...

    Function queryBase

    • Run a base's filter against the vault's markdown notes. Returns a list of matching notes plus any predicates we couldn't evaluate.

      Implementation: walks the vault, parses each note's frontmatter, evals the filter tree against (file.path, frontmatter, tags). Tags come from frontmatter tags: / tag: and canonical inline #tags in the body. A listed note with unreadable, malformed, or admission-failing frontmatter is SKIPPED, named in skipped_notes, counted in skipped_note_count, and clears total_matched_exact. It does not reject the query: one unparseable note must not make every base in the vault unusable. total_matched is then a LOWER BOUND, and a caller that needs an exact count must check total_matched_exact before treating it as one (v4 CL-B1b).

      NOT a full Obsidian DSL implementation — see module header for the subset we support.

      Parameters

      Returns Promise<BaseQueryResult>