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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sourcePath": "<sourcePath>",
"destinationPath": "<destinationPath>"
},
"name": "drive_copy"
}
}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. |