facenest_update_smart_album
Update an existing smart album in place by changing only the fields you pass—name, description, rules, match mode, sort, grouping, or cover image—while keeping the same smart album ID.
Instructions
WRITE TOOL (needs 'Allow writes'). Change an existing smart album IN PLACE: name, description, rules, match_mode, sort, sort_dir, group_by, cover_image_id. Only the fields you pass are changed; the smart_id stays the same. Rules use the same closed set as facenest_create_smart_album. Returns {smart_id, name, photo_count} (plus rule_counts/zero_rules when the result is empty). Album names are unique: renaming to an existing name is rejected with ERR_SMART_NAME_DUP (legacy duplicates may still exist; address albums by smart_id). Unknown id -> ERR_SMART_NOT_FOUND (call facenest_list_smart_albums for a fresh id).
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": {
"smart_id": "<smart_id>"
},
"name": "facenest_update_smart_album"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| sort | No | ||
| rules | No | person / tag / date / place / photos objects, max 30. | |
| group_by | No | ||
| smart_id | Yes | ||
| sort_dir | No | ||
| match_mode | No | ||
| description | No | ||
| cover_image_id | No | Optional cover photo id. |