Document Liveness Detection (0.24 credits)
document_livenessDetect whether a document image is a live capture rather than a screen or copy, so you can verify uploads before trusting an ID photo.
Instructions
Document liveness check. Returns whether the document image looks like a live capture rather than a screen or a copy, plus the checks that ran. Input: image as base64 or an https URL. Use it before trusting an uploaded ID photo. Use the OCR tools to read the text and face liveness for a selfie. Costs 0.24 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": {
"image": "<image>"
},
"name": "document_liveness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Document photo as a base64-encoded JPEG/PNG string (with or without a data:image/...;base64, prefix), or a public https:// image URL. Required. | |
| saveImage | No | When true, store the submitted image and return a URL. | |
| validatePrintedCopy | No | Run printed-copy detection. | |
| documentValidationId | No | Optional link to an existing document-validation record. | |
| validateScreenReplay | No | Run screen-replay detection. At least one validation flag must be true. | |
| validateDigitalManipulation | No | Run digital-manipulation detection. | |
| validatePortraitSubstitution | No | Run portrait-substitution detection. |