thai_validate_id
Validate a 13-digit Thai national ID or tax ID number using the official checksum algorithm. Returns validity status and formatted ID.
Instructions
Validate a 13-digit Thai national ID or tax ID using the official checksum.
Returns: JSON string: {"input", "valid": bool, "formatted": str|null}
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": {
"params": "<params>"
},
"name": "thai_validate_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |