List files in a bucket
list_filesList files in a Supabase storage bucket with sizes and last-updated dates. Optionally filter by folder to preview contents before uploading or obtain file paths for sharing.
Instructions
List the files in a bucket, with their sizes and last-updated dates. Optionally pass a folder prefix (e.g. 'logos') to look inside a specific folder. Handy for checking what's already there before uploading, or finding the exact path to make a shareable link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional maximum number of files to return (default 100). | |
| bucket | Yes | The bucket to look in. Use 'list_buckets' to see options. | |
| folder | No | Optional folder to list inside, e.g. 'logos' or 'campaigns/spring'. Omit for the top level. |