feat: add create_folder, rename, copy, move, delete, upload tools
All path/name params are json.dumps-wrapped per confirmed DSM behaviour. copy and move use async polling via a shared _poll_task helper (exponential backoff 200ms→2s, 60s timeout). delete requires confirmed=True; without it only a preview is returned and no DSM call is made. upload decodes base64 and enforces a 50 MB cap. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -97,5 +97,11 @@ src/mcp_synology_filestation/
|
||||
| `get_info` | Get detailed metadata for one or more paths |
|
||||
| `search` | Search for files by glob pattern with async polling |
|
||||
| `download` | Download a file as base64 (max 10 MB) |
|
||||
| `create_folder` | Create a new folder (optionally with parent dirs) |
|
||||
| `rename` | Rename a file or folder |
|
||||
| `copy` | Copy a file or folder (async polling, overwrite=False default) |
|
||||
| `move` | Move a file or folder (async polling, overwrite=False default) |
|
||||
| `delete` | Delete a file or folder — requires confirmed=True |
|
||||
| `upload` | Upload base64-encoded content to a path (max 50 MB) |
|
||||
|
||||
See [SPEC.md](SPEC.md) for the full planned tool set.
|
||||
|
||||
Reference in New Issue
Block a user