Move or rename Nextcloud file
move_fileMove or rename files and folders within a connected Nextcloud workspace root; optionally overwrite existing destinations, keeping all paths inside the same account.
Instructions
Move or rename an item within the user's connected private Nextcloud workspace root.
Both paths stay inside the same account and root; no transfer to another host or recipient.
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": "<source>",
"destination": "<destination>"
},
"name": "move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| overwrite | No | ||
| destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | No | ||
| name | Yes | ||
| path | Yes | ||
| size | No | ||
| is_dir | Yes | ||
| content_type | No | ||
| last_modified | No |