Discover Note Paths
search_pathsFind Markdown note paths by exact, prefix, literal, or optional typo matches, returning metadata only so you can choose a path to read.
Instructions
Discover note paths with direct matches before optional typo matches.
Returns metadata without bodies. Exact paths rank first, then case-insensitive literal prefix matches, followed by other literal matches and approximate matches. Coverage describes the approximate scan; truncated independently describes omitted results. Use read with a returned path to retrieve its content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fuzzy | No | Try ASCII alphanumeric tokens of length 3-64 within one edit; transposition costs two edits. Non-ASCII queries use direct matching. The approximate pass evaluates at most 10,000 candidates in 200 ms. | |
| limit | No | Maximum returned metadata items, 1-1000. | |
| query | Yes | Literal path text, 1-256 Unicode code points; whitespace alone is empty. Surrounding whitespace is ignored; wildcard characters are literal. | |
| folder | No | Restrict to this folder and descendants; empty selects root notes. | |
| filters | No | AND equality over indexed_frontmatter_fields from stats; list fields match a member. Use search for computed OKF filters. | |
| wait_for_pending_writes | No | Wait for recent index writes. On timeout, answer from the current index with _meta.index_stale=true. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| reasons | Yes | ||
| coverage | Yes | ||
| truncated | Yes | ||
| index_stale | Yes |