list_photos
Search and list photos or videos in Synology Photos by date, type, rating, favorite, folder, person, tag, album, place, concept, or keyword, returning IDs and metadata for details or downloads.
Instructions
List or search photos and videos in Synology Photos, newest first by default, with the total. folder, person and tag combine with the date, type, rating and favorite filters; album, place, concept and keyword each work alone. Each row has the item's id, filename, taken time, type, size and folder; pass the ids to get_photo for full details or to download_photos to save the files. For files outside Photos, use File Station's list_files when that module is enabled.
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": "list_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only items with this tag name. | |
| type | No | `all` (default), `photo` or `video`. | all |
| limit | No | Most items to return, 1-500. | |
| place | No | One place only: a place ID from list_photo_collections type=place. | |
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| offset | No | Entries to skip, for the next page. | |
| concept | No | One concept only (a thing or scene Photos recognized): an ID from list_photo_collections type=concept. Photos 1.9.1+. | |
| keyword | No | Search filenames and tag names; works alone, in search order (no sorting). | |
| sort_by | No | `taken` (default), `filename`, `size` or `type`. | taken |
| album_id | No | One album only (personal space). Album ID (list_photo_collections type=album). | |
| end_date | No | Taken on or before this date, `YYYY-MM-DD`. | |
| favorite | No | `true`: favorites only (Photos 1.9.1+). `false` doesn't filter. | |
| folder_id | No | Only items directly in this folder, not subfolders. Folder ID (list_photo_collections type=folder). | |
| person_id | No | Only items showing this person. Person ID (list_photo_collections type=person). | |
| album_name | No | Or the album's name, case ignored; not with album_id. | |
| min_rating | No | Minimum rating, 1-5. | |
| start_date | No | Taken on or after this date, `YYYY-MM-DD` (the photo's local time). | |
| folder_path | No | Or the folder's path, such as `/Trips/2024`; not with folder_id. | |
| person_name | No | Or the person's name, case ignored; not with person_id. | |
| sort_direction | No | `desc` (default) or `asc`. | desc |