move_file
Move or rename files and folders in Nextcloud by entering the current path and the new destination. Simplify file organization with relative path inputs for accurate relocation.
Instructions
Move or rename a file or folder 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": {
"fromPath": "<fromPath>",
"toPath": "<toPath>"
},
"name": "move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toPath | Yes | New destination path relative to user root | |
| fromPath | Yes | Current path of the file/folder relative to user root |