Restore archived file
restore_archived_fileRestore an archived S3 Glacier object for download by specifying its key, storage ID, and retrieval days. Confirm to initiate retrieval, which may take minutes to hours.
Instructions
Begin restoring an archived (S3 Glacier) object so it can be downloaded. Requires the drive (bucketName). This is Glacier un-archiving — NOT recovery of a deleted file — and may incur retrieval cost and take minutes to hours. Requires confirm=true. (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 |
|---|---|---|---|
| days | Yes | How many days to keep the restored copy available. | |
| confirm | No | Must be true to actually perform this mutating/irreversible action. If omitted or false, the tool returns a preview and makes no changes. | |
| objectKey | Yes | Object key of the archived (Glacier) object to restore. | |
| storageId | Yes | Storage/index id of the object — the StorageId field returned by search_files, browse_folder, or get_file_metadata. NOTE: the ids from list_files and recent_files belong to a different id space and will NOT work here. | |
| 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. | |
| retrievalTier | No | Glacier retrieval tier (default Standard). |