Validasi kode wilayah / Validate code
validasi_kodeMemeriksa format kode wilayah Kemendagri dan apakah kode itu ada di data Kepmendagri terbaru. Checks the format of a region code and whether it exists in the current list; for unknown codes it reports the nearest existing parent. Offline, free.
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": {
"kode": "<kode>"
},
"name": "validasi_kode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kode | Yes | Code to check, e.g. "35.78.01.1001" or "3578011001". |