Photos: Delete folders
delete_photo_foldersDeletes Synology Photos folders and all their contents, moving items to the recycle bin when available. Confirm before running; large deletions continue on the NAS with a task handle.
Instructions
Delete folders in Synology Photos with everything in them (files and subfolders). They go to the recycle bin of the share that holds the space if it has one, otherwise they're gone. A large delete keeps running on the NAS and the reply gives a handle for photo_task. Confirm with the user first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_photo_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| folder_ids | No | IDs of the folders (list_photo_collections type=folder); not the space root; at most 1,000 in all. | |
| folder_paths | No | Paths of the folders, such as `/Trips/2024`. |