Photos: Download
download_photosDownload Synology Photos items by ID to a local folder as original files or JPEG previews, with overwrite control and allowed-folder safety.
Instructions
Download Synology Photos items by id to a folder on this machine: the original files or JPEG previews, one file per item, named after the original. Only writes inside the allowed local folders, and never replaces an existing file unless overwrite=true. Items that share a name get their id added; to retry part of a call, repeat it with the same ids in the same order, since names depend on all of them. For files outside Photos, use File Station's download_file when that module is enabled.
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": {
"ids": "<ids>"
},
"name": "download_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | 1-50 item IDs from list_photos. | |
| size | No | `original` (default), or a JPEG preview saved as `<name>_<size>.jpg`: `xl`, `m` or `sm`: 1280, 320 or 240 px on the short side, never larger than the original. | original |
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| overwrite | No | Replace a local file with the same name; otherwise that item is skipped. | |
| dest_folder | No | An existing local folder: one of the allowed local folders (/root/Downloads), or one below it; default the allowed folder, when there's only one. |