facenest_semantic_search
Search a local photo library with natural-language phrases like 'dog on a beach'; return matching images with similarity scores. If the model is cold, get a warming notice and retry shortly.
Instructions
Semantic (natural-language) search: 'photos with a dog on a beach'. Needs the semantic model downloaded and consumes one free-tier query (Pro: unlimited). Returns {text, count, images:[{image_id, similarity, display_name, thumb_url_abs, app_url, taken_at, date_source, shot_at, file_mtime}], index_total, library_total, unindexed, coverage_note, rewritten, threshold_used, sensitivity, max_similarity, below_threshold_count, threshold_note}. If the model is cold, the reply is {warming:true, count:0, note, retry_after_sec} instead of blocking; tell the user and retry the same query after ~10–20 s. compact:true returns only image_id/display_name/taken_at/similarity/thumb_url_abs/app_url/source_path. Results are cut by the user's Settings → Search sensitivity (sensitivity). When count is 0 or below_threshold_count > 0, max_similarity is the best candidate's score: report that it is below the user's threshold and offer to raise the sensitivity — do NOT say the library has no such photo. unindexed > 0 means some photos have no semantic vector yet and CANNOT appear in these results — say so instead of concluding 'no such photo'. rewritten is only a bare-word→phrase fallback, not translation. For image-to-image use facenest_similar_photos. Semantic results are NOT a live album rule — to filter them by date/place/camera pass the returned ids to facenest_query_photos {type:'photos', op:'in', ids:[…]} (read-only); to keep them, pass the same ids to facenest_create_smart_album / facenest_update_smart_album.
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": {
"text": "<text>"
},
"name": "facenest_semantic_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Natural-language query. | |
| limit | No | ||
| compact | No | Only id/display_name/taken_at/similarity/thumb_url_abs/app_url/source_path. |