decode_cnr_number
Decode a 16-character CNR to validate format and extract state, district, establishment, case type, year, and serial for court case identification.
Instructions
Decode and validate a 16-character CNR.
Use when extracting state, district, establishment, case type, year, and serial from a CNR number.
Args: cnr: 16-character CNR string.
Returns: Standard envelope containing decoded fields.
Notes: Format validation with field decoding. Not legal advice. Consult a qualified advocate.
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": {
"cnr": "<cnr>"
},
"name": "decode_cnr_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnr | Yes | 16-character CNR string. Spaces and hyphens are stripped automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||