edit_person
Rename, hide or unhide, or set a cover photo for a face-recognition person in Synology Photos; use merge_people to combine groups of the same person.
Instructions
Change one person (a face-recognition group) in Synology Photos: rename them, hide or unhide them in the people list, or set their cover photo. To combine groups that are the same person, use merge_people.
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": {
"action": "<action>"
},
"name": "edit_person"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new name; `""` makes them unnamed. | |
| space | No | `personal` (default) or `shared` (Shared Space). IDs belong to one space. | personal |
| action | Yes | `rename` (`name`), `hide`, `unhide` or `set_cover` (`item_id`). | |
| item_id | No | An item ID from list_photos of a photo showing this person. | |
| person_id | No | Person ID (list_photo_collections type=person). Hidden ones need include_hidden=true there. | |
| person_name | No | Or the person's name, case ignored; not with person_id. |