tag_photos
Add or remove tags on Synology Photos items to organize and filter photos; changes are written into original files and re-indexed, so file dates and sizes may change.
Instructions
Add or remove tags on Synology Photos items. Photos writes tags into the original files and re-indexes them, so file dates and sizes change. A tag disappears once no item has it, so to delete a tag remove it from every item that has it (list_photos tag=...); to rename, add the new name to those items, then remove the old one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Item IDs from list_photos, at most 1,000 per call. | |
| tags | Yes | Tag names, any case, such as `["beach", "2024"]`. | |
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| action | Yes | `add` (creates tags that don't exist) or `remove`. |