List Documents
list_documentsList Markdown notes and optional attachments by folder, path pattern, or frontmatter, returning path, title, and metadata without body text. Use it to browse or filter vault contents before reading.
Instructions
List notes, and optionally attachments, with path, title and frontmatter but no body text.
Use search to find notes by what they say.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Only notes in this folder and its sub-folders, such as `"Journal"`; `""` for top-level notes only; omit for the whole vault. | |
| filters | No | Frontmatter values to match, all of them, such as `{"tags": "craft"}`; any key works, a list field matches when it holds the value, and attachments never match. On an OKF bundle, status (draft, stable or deprecated; stable includes notes with none), stale (`"true"` or `"false"`) and trust_tier (unverified, machine-confirmed or human-reviewed) filter too. | |
| pattern | No | Glob matched against paths, such as `"Journal/*.md"` or `"**/*meeting*.md"`. | |
| include_attachments | No | Also list non-note files, marked kind=`"attachment"` with their mime_type. Default false. | |
| 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 |
|---|---|---|---|
| result | Yes |