copy-file
Copies a file or directory within NextCloud, optionally overwriting existing destinations.
Instructions
Copy a file or directory in NextCloud
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": "copy-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourcePath | Yes | Path of the file or directory to copy | |
| destinationPath | Yes | Destination path for the copy | |
| overwrite | No | Whether to overwrite if destination exists |