s3_upload_object
Upload a local file to an S3 bucket using provider, bucket, key, and local_path; overwrites the destination object if it already exists.
Instructions
Upload a local file to an S3 bucket. local_path must resolve under home, cwd, or ~/Downloads. Overwrites the destination key if it exists. Reserved for dangerous guard mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Destination object key. | |
| bucket | Yes | Destination bucket name. | |
| 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. | |
| local_path | Yes | Local file path to upload. |