Copy item
nextcloud_copy_itemCopy a file or folder to a new destination in Nextcloud, with optional overwrite. Provide source and destination paths to duplicate items and control replacement.
Instructions
Copy one file or folder.
COPY /remote.php/dav/files/{user}/{source_path}
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": {
"source_path": "<source_path>",
"dest_path": "<dest_path>"
},
"name": "nextcloud_copy_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_path | Yes | ||
| overwrite | No | ||
| source_path | Yes |