Global - Face Comparison (Live) (0.50 credits)
face_recognition_compare_liveCompare two face images while confirming the probe is a live capture; get a match score and liveness result for identity verification.
Instructions
Compares two faces and checks that the probe is live. Returns the match score and the liveness result. Inputs: gallery, probe, os (ANDROID, IOS, or DESKTOP), search_mode, and liveness_min_score. Use it when the second image must be a live capture. Use face_recognition_compare if liveness is not required. Costs 0.50 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": {
"search_mode": "<search_mode>",
"gallery": "<gallery>",
"probe": "<probe>",
"os": "<os>",
"liveness_min_score": "<liveness_min_score>"
},
"name": "face_recognition_compare_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | Yes | Client operating system. Allowed values: ANDROID, IOS, DESKTOP. | |
| probe | Yes | ||
| gallery | Yes | ||
| search_mode | Yes | Face search accuracy mode. Allowed values: FAST, ACCURATE. | |
| liveness_min_score | Yes | Minimum liveness score threshold (0.5–1.0). |