Photos: Upload
upload_photosUpload local photos and videos to a Synology Photos folder or existing album, with duplicate handling and timeout-aware results for unsent files.
Instructions
Upload photos or videos from this machine into a Synology Photos folder, optionally adding them to an existing album. Only reads files inside the allowed local folders. Starts no new file after the configured task timeout (30 s by default, at most 45 s) and lists the files not tried, to pass to another call. Photos indexes new items over the next seconds to minutes; until then their taken dates and previews may be missing.
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": {
"local_paths": "<local_paths>"
},
"name": "upload_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| album_id | No | An existing album to add them to (personal space; create one with photo_album). Album ID (list_photo_collections type=album). | |
| folder_id | No | The existing folder's ID; this or folder_path is required. | |
| album_name | No | Or the album's name, case ignored; not with album_id. | |
| folder_path | No | Or its path, such as `/Trips` (`/`: the space root). | |
| local_paths | Yes | 1-50 local files inside one of the allowed local folders (/root/Downloads), or below it. | |
| on_duplicate | No | A file with that name already there: `rename` (default) keeps both, `skip` leaves the existing one and skips that file. | rename |