move-file
Move or rename files and directories in NextCloud to reorganize storage, with optional overwrite for existing destinations.
Instructions
Move or rename 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": "move-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourcePath | Yes | Current path of the file or directory | |
| destinationPath | Yes | New path where the file or directory should be moved | |
| overwrite | No | Whether to overwrite if destination exists |