Upload file
upload_fileUpload local files to a CloudSee Drive folder using pre-signed URLs, with automatic multipart upload for large files.
Instructions
Upload a local file to a folder in a drive. Requires the drive (bucketName). Reads the file from the local machine, requests pre-signed upload URL(s), uploads the bytes to storage, then finalizes the object. Files up to 8 MiB use a single upload; larger files are uploaded in parts automatically. (Write access is authorized server-side by the public API's RBAC — a denial means the API key lacks this tool's scope, not a tool failure.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | Name to store the file as. Defaults to the local file's name. | |
| localPath | Yes | Path to the local file to upload (absolute, or relative to the server's working directory). | |
| bucketName | No | The CloudSee drive (S3 bucket) name to operate in, e.g. 'max-2778abc0' — find it in the CloudSee dashboard. Required unless CLOUDSEE_DEFAULT_BUCKET is configured on the server. | |
| contentType | No | MIME type. Defaults to application/octet-stream. | |
| storageClass | No | Optional S3 storage class (e.g. STANDARD, INTELLIGENT_TIERING). | |
| destinationFolder | Yes | Destination folder/prefix in the drive. Empty = drive root. |