Global - Face Search 1:N (Active User) (1 credits)
face_recognition_search_active_userIdentifies an active enrolled user by searching a face collection with a submitted image and returns the matched person; a collection ID scopes the 1:N search.
Instructions
Searches your collection for an active enrolled user. Returns the matched person. Inputs: image, os, min_score, search_mode, and collection_id. Requires collection_id to scope 1:N search to your collection. Matched-person details are omitted from responses when collection_id is not provided. Costs 1 credit 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": {
"image": "<image>",
"os": "<os>",
"min_score": "<min_score>",
"search_mode": "<search_mode>",
"collection_id": "<collection_id>"
},
"name": "face_recognition_search_active_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | Yes | Client operating system. Allowed values: ANDROID, IOS, DESKTOP. | |
| image | Yes | Face or document photo as a base64-encoded JPEG/PNG string (with or without a data:image/...;base64, prefix) or a public https:// image URL. | |
| min_score | Yes | Minimum face match score threshold (0.2–1.0 depending on endpoint). | |
| search_mode | Yes | Face search accuracy mode. Allowed values: FAST, ACCURATE. | |
| collection_id | Yes | Face collection ID that scopes search to your enrolled persons. Required for face detect and 1:N search tools. |