validate_driving_license
Validate an Indian driving license number format and decode state, RTO, year of issue, and serial number for KYC workflows.
Instructions
Validate an Indian driving license number format and decode segments.
Use when verifying DL format, extracting state/RTO/year in KYC workflows.
Args: dl_number: Driving license number. Hyphens/spaces stripped automatically.
Returns: Standard envelope containing validity, state code, state name, RTO code, year of issue, and serial number.
Notes: Format validation only. Handles non-standard pre-Sarathi formats gracefully.
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": {
"dl_number": "<dl_number>"
},
"name": "validate_driving_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dl_number | Yes | Indian DL number, 15 chars (spaces/hyphens allowed). Ex: MH0220191234567 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||