List Files in Connected Storage
list_storage_filesList folders and files in a connected storage bucket to find a storage:/// job input. Entries include ready-made URIs; use a prefix to drill down and a cursor to page through results.
Instructions
List the folders and files directly under a folder in one of the user's connected buckets, to find the path for a storage:/// job input. Every entry carries its ready-made uri. Pass a folder's prefix to go one level deeper, and the returned cursor to read the next page. Read-only: it never changes the bucket. Requires a configured API key with storage access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Entries per page, up to 1000. Defaults to 100. Use the returned cursor to fetch the next page. | |
| cursor | No | The cursor from the previous page | |
| prefix | No | Folder to list, ending in '/', e.g. 'raw/2026/'. Omit for the top of the bucket. | |
| storageId | Yes | Connection id from list_storage, e.g. 'prod-media' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| cursor | Yes | Pass back as cursor for the next page. Null on the last page. | |
| folders | Yes |