Move or copy file
move_fileMove or copy a file or folder to a new path on CloudSee Drive. Uses the object's StorageId and exact key; moves require confirmation and run in the background.
Instructions
Move (or copy, with asCopy=true) a file or folder to a new location, addressed by its exact object key plus its storage id (the StorageId field from search_files / browse_folder / get_file_metadata — not from list_files or recent_files, whose ids are a different id space and will NOT work). Queued: returns a RequestId and the operation completes in the background, typically under 2 minutes — verify by listing until the object appears at the destination. Requires the source drive (bucketName). A move removes the source and is destructive, so it requires confirm=true; a copy does not. (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 |
|---|---|---|---|
| asCopy | No | Copy instead of move (copy is non-destructive; the source is kept). | |
| 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. | |
| isFolder | No | Set true for a folder. | |
| objectKey | Yes | Exact source object key as returned by a listing tool (folders keep their trailing slash). | |
| 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. | |
| destinationPath | Yes | Destination folder prefix. | |
| destinationBucket | No | Target drive, if different from the source drive. |