s3_download_object
Download an S3 object to a local file. The file path must be under the user's home directory, current working directory, or ~/Downloads for security.
Instructions
Download an object from S3 to a local file. local_path must resolve under the user's home directory, current working directory, or ~/Downloads — paths outside these roots are rejected for safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key. | |
| bucket | Yes | Bucket name. | |
| provider | Yes | Storage provider. | |
| local_path | Yes | Local file path to write the downloaded object to. |