List files in a drive
list_filesList files in a drive recursively to see what it contains, returning names, sizes, storage classes, and keys with pagination. Requires the drive (S3 bucket) name.
Instructions
List the files in a drive straight from storage, recursively by default — the most reliable way to see what a drive actually contains. Requires the drive (bucketName). Returns names, sizes, storage classes and keys, with pagination. The object id in each result is regenerated on every call and must never be used for rename_file, move_file, update_metadata, or delete_files — use search_files, browse_folder, or get_file_metadata for a stable StorageId instead (recent_files returns a different id space and will not work there either). For a complete listing, keep calling with the returned cursor until no cursor comes back — a page may be short, or even empty, while more results remain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Recurse into sub-folders (default true). | |
| cursor | No | Opaque pagination cursor returned by a previous call. | |
| pageSize | No | Max items per page (1-200, default 13). The connector sizes each page to what it can render whole, starting at 13 and adapting to the size of your items from the previous page; a larger value is reduced to what fits. | |
| bucketName | No | The CloudSee drive (S3 bucket) name to operate in, e.g. 'max-2778abc0' — find it in the CloudSee dashboard. Required unless CLOUDSEE_DEFAULT_BUCKET is configured on the server. |