List Attachments
list_attachmentsEnumerate every non-markdown file (images, PDFs, audio, video) in the Obsidian vault to audit assets, detect duplicates, or identify targets for removal.
Instructions
Enumerate every non-markdown file in the vault — images, PDFs, audio/video clips, anything pasted in beyond notes/canvases/Bases. Returns a sorted list of relative paths plus a per-extension count summary. Use to audit assets, find duplicates by name, or pick targets for find_unused_attachments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of attachment paths to return (1-10000, default: 200). Total counts are still reported. | |
| extension | No | Restrict to one extension (e.g., 'png' or '.png'). Omit for every attachment. |