id_card_ocr
Extract structured data from a Chinese national ID card image to prefill identity fields, digitize documents, and automate onboarding workflows.
Instructions
Extract structured data from a Chinese national ID card image. Front side returns name, sex, ethnicity, birth date, ID number and address. Back side returns issuing authority and validity. Best for identity-data prefill, document digitization, and onboarding workflow automation.
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": "id_card_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | 0=portrait/front side, 1=national emblem/back side. Default: 0. | 0 |
| image | Yes | ID card image: local file path, HTTPS URL, data URL, or base64. |