List a folder
list_objectsLists objects and sub-folders under a prefix, one page at a time. Pass nextPageToken back as pageToken to continue. By default it shows one folder level; set recursive to list every object below the prefix instead. To search by name, or to total up a prefix, use find_objects or stat_prefix rather than paging through it here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name. | |
| prefix | No | Key prefix, e.g. 'docs/'. Empty for the root. | |
| pageSize | No | Max objects to return (default 100, max 500). | |
| pageToken | No | Token from a previous call's nextPageToken. Only valid with the same recursive setting the token came from. | |
| recursive | No | List objects at every depth below the prefix. Sub-folder names come back empty when set, because there are no levels left to open. On a scoped or shared connection this only works from inside a granted prefix; leave it off to browse down to one. | |
| connectionId | Yes | Connection id from list_connections. |