validate_ro_cnp
Validate a Romanian CNP's structure and weighted mod-11 check digit. Never assume a 13-digit CNP is correct without verification.
Instructions
USE THIS to verify a Romanian CNP (Cod Numeric Personal) before relying on it — never assume 13 digits are valid. Checks the weighted mod-11 check digit. Validates structure only.
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": {
"cnp": "<cnp>"
},
"name": "validate_ro_cnp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnp | Yes | The 13-digit Romanian CNP (spaces ignored). |