validate_gstin
Validate an Indian GSTIN (15-char Goods & Services Tax Identification Number). Checks length, character set, state code, embedded PAN format, and the GSTN mod-36 check character. Returns {valid, state, state_code, pan, entity_code, check_char, error?}.
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 | 15-char GSTIN, e.g. '27AAPFU0939F1ZV'. Case-insensitive; surrounding whitespace is trimmed. |