Global - Face Search (1:N) (0.03 credits)
face_recognition_searchSearch faces against a collection to return matching person IDs and scores using a configurable threshold and accuracy mode; pass a collection ID to scope results to your enrolled people.
Instructions
Face search (1:N) against a collection. Returns matching person ids and scores. Inputs: images, min_score, and search_mode. Pass collection_id or matches are not tied to your people. Use the crops tool to search cropped faces, and search_live_face when the probe must be live. Costs 0.03 credits per successful call.
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": {
"images": "<images>",
"min_score": "<min_score>",
"search_mode": "<search_mode>"
},
"name": "face_recognition_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| images | Yes | ||
| min_score | Yes | Minimum face match score threshold (0.2–1.0 depending on endpoint). | |
| max_results | No | Maximum number of search results to return. | |
| search_mode | Yes | Face search accuracy mode. Allowed values: FAST, ACCURATE. | |
| collection_id | No | Face collection ID that scopes search to your enrolled persons. Required for face detect and 1:N search tools. |