facenest_search
Search a local photo library by tag, caption, or file name to return matching images with IDs, thumbnails, and metadata for follow-up actions.
Instructions
Search the library by tag / caption / file name. mode: 'all' (default) | 'tag' | 'text' (captions + file names). Returns {query, mode, count, images:[{image_id, file_name, display_name, thumb_url, thumb_url_abs, taken_at, date_source, shot_at, file_mtime, file_ctime, uploaded_at, camera, camera_make, camera_model, lens, favorite, source_path}]}. display_name is the original file name (use it in UI text); thumb_url is a local path, thumb_url_abs is the clickable URL — use the absolute one. lens is cleaned of absurd EXIF focal values (lens rules still match the raw string by tokens). image_id is the ONLY valid input for the other tools — never invent ids. limit max 200. Every image also has app_url (facenest://photo/<id>). compact:true returns only image_id/display_name/taken_at/thumb_url_abs/app_url/source_path (no file_name/camera/lens). This tool has no offset: when hits exceed 200, use facenest_query_photos (it pages). This tool has NO date/place/people filters: for those (or any combination) use facenest_query_photos, which is read-only and saves nothing. For tag vocabulary use facenest_list_tags (auto tags are often Chinese; matching ignores case). Dates: taken_at = the date the app shows (EXIF first, else file ctime/mtime, else upload); date_source = 'exif'|'ctime'|'mtime'|'upload'; shot_at = RAW EXIF only and may be null; file_mtime = the file's modified time.
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": {
"q": "<q>"
},
"name": "facenest_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Text to look for. | |
| mode | No | all | |
| limit | No | ||
| compact | No | Only id/display_name/taken_at/similarity/thumb_url_abs/app_url/source_path. |