Parse MRZ and verify check digits
document-formats_mrz-parse-checkdigitsRead-onlyIdempotent
Parse TD1/TD2/TD3 machine-readable zones and verify ICAO Doc 9303 check digits. Price $0.01 USDC. POST /api/v1/document-formats/mrz-parse-checkdigits. An unpaid call returns the x402 payment terms and does not run.
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": {
"mrz": "<mrz>"
},
"name": "document-formats_mrz-parse-checkdigits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mrz | Yes | mrz, value. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | No | sex. String. | |
| valid | No | valid. Boolean. | |
| checks | No | checks. Array. | |
| format | No | format. String. | |
| sources | No | sources. Array. | |
| surname | No | surname. String. | |
| warnings | No | warnings. Array. | |
| birthDate | No | birthDate. String. | |
| expiryDate | No | expiryDate. String. | |
| givenNames | No | givenNames. Array. | |
| limitations | No | limitations. Array. | |
| nationality | No | nationality. String. | |
| documentCode | No | documentCode. String. | |
| issuingState | No | issuingState. String. | |
| optionalData | No | optionalData. Array. | |
| documentNumber | No | documentNumber. String. |