upload_to_s3
Upload a file to MinIO, AWS S3, or any S3-compatible endpoint. Credentials can be passed directly or read from environment variables.
Instructions
Upload a file to MinIO, AWS S3, or any S3-compatible storage.
Works with MinIO (self-hosted), AWS S3, DigitalOcean Spaces, Backblaze B2, Cloudflare R2, and any S3-compatible service.
Credentials can be passed directly or read from environment variables: AWS_ENDPOINT_URL, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
Sample prompts that trigger this tool: - "Upload report.pdf to my MinIO bucket" - "Upload this file to S3 bucket my-bucket" - "Store backup.tar.gz in MinIO at backup-bucket/daily/" - "Upload to my DigitalOcean Space"
Args: file_path: Local file to upload. bucket: Bucket name. key: Object key (path in bucket). Default: filename. endpoint: S3 endpoint URL (e.g. "http://localhost:9000" for MinIO). Falls back to AWS_ENDPOINT_URL env var, then AWS S3 default. access_key: Access key. Falls back to AWS_ACCESS_KEY_ID env var. secret_key: Secret key. Falls back to AWS_SECRET_ACCESS_KEY env var.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| bucket | Yes | ||
| key | No | ||
| endpoint | No | ||
| access_key | No | ||
| secret_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |