s3_list_objects
List objects and folders in an S3 bucket with optional prefix filtering. Returns keys, sizes, and truncation status to navigate large buckets.
Instructions
List objects and virtual-folder prefixes in an S3 bucket. Returns a JSON object with 'folders', 'objects' (each with key/size/last_modified), and 'is_truncated' (true when the bucket has more than ~1000 keys matching the prefix — re-call with a more specific prefix).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name. | |
| prefix | No | Key prefix to filter by (default: ''). | |
| region | No | Region the bucket lives in (e.g. 'eu-central-1'). Omit unless you know it — it is resolved automatically. AWS, and OVH when no endpoint URL is configured (pass the region s3_list_buckets reports). Rejected for Hetzner, and for an OVH endpoint URL set by hand, whose region is fixed by that endpoint. | |
| account | No | Account label of the provider whose object storage to use; omit for that provider's default account. | |
| provider | Yes | Storage provider. | |
| delimiter | No | Delimiter for virtual folder grouping (default: '/'). | / |