Copy item
drive_copyCopy files or folders on Proton Drive while keeping the original; set destinationPath as the target parent folder and use newName to duplicate an item in its own folder.
Instructions
Copy a file or folder on Proton Drive; the original stays. destinationPath is the target PARENT folder (unlike drive_move, which takes a full new path). Pass newName to copy under a different name — required to duplicate an item inside its own folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | No | Optional name for the copy (CLI --name). Required to copy an item into its own folder. | |
| sourcePath | Yes | Absolute remote path to copy. | |
| destinationPath | Yes | Absolute remote target PARENT folder, e.g. /my-files/Archive. |