get_object_preview
Preview S3 object contents directly. Read text, JSON, CSV, or code files by specifying bucket, key, and optional maximum bytes. Retrieve up to 1MB per request.
Instructions
Read the contents or preview of an S3 object. Useful for text, JSON, CSV, or code files.
:param bucket: Name of the bucket. :param key: Unique key/path of the object. :param max_bytes: Maximum number of bytes to retrieve (default is 1MB). :param provider_id: Optional provider connection ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| bucket | Yes | ||
| max_bytes | No | ||
| provider_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |