extract_pan
Extract the 10-character PAN embedded in a GSTIN (positions 3-12, 1-indexed). Throws if the GSTIN is the wrong length or the embedded PAN is malformed. Does NOT verify the check character — use validate_gstin for that.
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": "extract_pan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gstin | Yes | 15-char GSTIN. |