OCR Document Scan Studio (0.10 credits)
ocr_scan_studioExtracts structured fields from document images using Studio OCR. Provide document type and image (base64 or HTTPS URL) with optional country to read and return parsed document data.
Instructions
Studio document OCR. Returns structured fields read from the document image. Inputs: documentType, image (base64 or https URL), and an optional country. Use it for the studio reader. Use ocr_scan_gpt for the other OCR path and document-liveness to check the photo is live. Costs 0.10 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": {
"documentType": "<documentType>",
"image": "<image>"
},
"name": "ocr_scan_studio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| country | No | Optional ISO country code. | |
| documentType | Yes | Document type code for Studio OCR. Allowed values: CC, RUT, PA, ENSAPA, DNI, CCVE, RIFVE, TLCC, TLCC_FULL. |