List Attachments
list_attachmentsEnumerate all non-markdown vault files—images, PDFs, audio/video—with sorted relative paths and per-extension counts. Use to audit assets, find duplicates by name, or target unused files.
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. |