list_objects_v2
Retrieve a JSON-formatted list of objects from an S3 bucket, with options to filter by prefix, set maximum keys, paginate using a token, and group keys with a delimiter.
Instructions
Lists objects in an S3 bucket.
Args: bucket (str): The name of the bucket. prefix (Optional[str]): Filter for keys starting with this prefix. max_keys (Optional[int]): Maximum number of keys to return. continuation_token (Optional[str]): Token for paginating results. delimiter (Optional[str]): Delimiter for grouping keys.
Returns: str: JSON formatted S3 response.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket | Yes | ||
continuation_token | No | ||
delimiter | No | ||
max_keys | No | ||
prefix | No |