resolve_note
Resolve a note name to its exact canonical path via case-insensitive lookup on title, alias, or basename. Returns the unique path if exactly one match, else null.
Instructions
Resolve a human-facing note name (frontmatter title, an alias, or the file basename) to its canonical note path — an exact, case-insensitive, index-backed lookup that removes the search-then-guess round trip for "what's the path of the note called X?". Matching is exact, never fuzzy (use search_notes_ranked for approximate matching). Returns { query, matches, resolved }: matches is the array of { path, title, matched_on } (matched_on is "title"|"alias"|"basename"; a note matching on several fields appears once, labeled with its strongest field, title > alias > basename), sorted by path; resolved is the single path when exactly one note matches, else null (ambiguous or no match — it never guesses).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The human-facing name to resolve (title, alias, or basename) |