List Notes
vault_list_notesList Markdown note paths in an Obsidian vault, filtered by folder or glob pattern. Browse filenames before reading content, or find notes matching a path pattern.
Instructions
List .md file paths in the vault, optionally filtered by folder and/or glob pattern. Returns paths only — not content or metadata.
Example: vault_list_notes({ folder: "Projects" }) Example: vault_list_notes({ glob: "**/session-log.md" }) Example: vault_list_notes({ folder: "Projects", glob: "*.md" }) — the folder's top-level notes only
When to use: Browsing what exists in a folder by filename, or finding notes matching a path pattern. Prefer vault_search_by_folder when you need metadata (tags, type, related) along with paths. Prefer vault_search for content-based discovery. Use vault_read_note to read a note from the results.
Parameters:
folder names a whole folder; without a glob, notes in its subfolders are listed too: "Projects" covers "Projects/Archive" but not "ProjectsOld/". Use the folder's exact letter case, as other results show it; on a case-sensitive filesystem a different case finds nothing.
glob matches each note's path inside folder (its vault-relative path when folder is omitted), case-sensitively. * stays within one folder level and ** spans any depth: with folder "Projects", "**/*.md" lists every note under it.
Behavior: Paths come back sorted by vault-relative path in code-unit order (uppercase before lowercase). Hidden (dot-prefixed) notes and folders are never listed; symlinked notes are included.
Errors:
A nonexistent folder or no glob matches returns an empty array, not an error.
"absolute path blocked" / "path traversal blocked" / "hidden path blocked" — use a vault-relative folder outside hidden folders, or omit folder to list the whole vault.
"ENAMETOOLONG: …", "EACCES: …" or another filesystem error code — the message names the folder it could not read, and what to do; until then, pass a folder outside it.
Returns: JSON array of vault-relative path strings (e.g. ["Notes/idea.md", "Projects/plan.md"]).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Glob pattern for note paths (e.g. "**/*session-log*.md"). | |
| folder | No | Vault-relative folder to list (e.g. "About Me", "Projects"). |