feat: Add WebDAV resource move/rename functionality

This commit is contained in:
Pedro Ruiz
2025-09-10 22:12:17 +02:00
parent 420fa9173d
commit b55b9640c6
4 changed files with 133 additions and 0 deletions
+10
View File
@@ -78,6 +78,7 @@ The server provides integration with multiple Nextcloud apps, enabling LLMs to i
| `nc_webdav_write_file` | Create or update files in NextCloud |
| `nc_webdav_create_directory` | Create new directories |
| `nc_webdav_delete_resource` | Delete files or directories |
| `nc_webdav_move_resource` | Move or rename files and directories |
## Available Resources
@@ -116,6 +117,15 @@ await nc_webdav_write_file("NewProject/docs/notes.md", "# My Notes\n\nContent he
# Delete a file or directory
await nc_webdav_delete_resource("old_file.txt")
# Move or rename a file
await nc_webdav_move_resource("document.txt", "new_name.txt")
# Move a file to another directory
await nc_webdav_move_resource("document.txt", "Archive/document.txt")
# Move a directory
await nc_webdav_move_resource("Projects/OldProject", "Projects/NewProject")
```
### Calendar Integration