validate_aadhaar
Validate Indian Aadhaar numbers by checking 12-digit format and Verhoeff checksum for KYC, identity verification, and benefit workflows. Returns validity and checksum result.
Instructions
Validate an Indian Aadhaar number with Verhoeff checksum verification.
Use when checking Aadhaar format and checksum in KYC, identity verification, or government benefit workflows.
Args: aadhaar: 12-digit Aadhaar number. Spaces and hyphens are stripped.
Returns: Standard envelope containing validity, checksum result, formatted display, and first-digit check.
Notes: Validates format and Verhoeff checksum only. Not connected to UIDAI. In compliance with the Digital Personal Data Protection Act, 2023 (DPDP Act) and UIDAI guidelines, raw Aadhaar numbers are never stored, logged, or exposed.
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": {
"aadhaar": "<aadhaar>"
},
"name": "validate_aadhaar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aadhaar | Yes | 12-digit Aadhaar number. Spaces and hyphens accepted. Example: 2959 4583 7261 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||