Validate a GSTIN
validate_gstinChecks an Indian GSTIN offline for 15-character structure, state code, embedded PAN, and mod-36 check character, returning decoded parts. A pass confirms only well-formed format, not registration.
Instructions
Checks an Indian GSTIN offline: 15-character structure, state code, embedded PAN, and the mod-36 check character. Returns the decoded parts. Use this instead of guessing whether a GSTIN is well-formed; a model cannot calculate the check character reliably. Covers regular-taxpayer GSTINs (14th character Z); TDS/TCS, UN-body and non-resident formats are not supported. A pass only means well-formed, not registered or active.
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": {
"gstin": "<gstin>"
},
"name": "validate_gstin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gstin | Yes | The GSTIN, with or without spaces or hyphens |