facenest_delete_smart_album
Deletes a smart album's definition by smart_id while keeping all photos, tags, faces, and files intact. Use it to discard an album created with wrong rules; the returned snapshot can restore it later.
Instructions
WRITE TOOL (needs 'Allow writes'), max 20 deletes per session. Deletes ONE smart album DEFINITION by smart_id — photos, tags, faces and files are never touched. Only smart_id is accepted (never a name: legacy duplicates would be ambiguous). Returns {ok, deleted:{smart_id, name, description, rules, match_mode, sort, sort_dir, group_by, cover_image_id}, usage:'1/20', note}. Keep the snapshot: passing it back to facenest_create_smart_album restores the album. Unknown id -> ERR_SMART_NOT_FOUND. Use this to discard an album you just created with wrong rules instead of renaming it (a rename keeps the name occupied and a new album with that name is rejected).
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_delete_smart_album"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| smart_id | Yes | From facenest_list_smart_albums in this session. |