Get one administrative region by code
nusa_region_getFetch a single Indonesian region by Kemendagri code to retrieve its hierarchy path, centroid, and time zone for location lookup and regional data validation.
Instructions
Returns one wilayah by its official Kemendagri code, with hierarchy path, centroid (province/regency only) and time zone (WIB/WITA/WIT).
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": {
"code": "<code>"
},
"name": "nusa_region_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Kemendagri region code, e.g. 33.03 (Kabupaten Purbalingga). Dots required. | |
| lang | No | Language of the human-readable text block: id (Indonesian) or en (English). | id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| cache | Yes | none = not cached (local data). | |
| source | Yes | Source id, e.g. bmkg, bps, region. | |
| derived | No | True when computed locally from source data. | |
| dataAsOf | No | ISO 8601 time the source says the data is current as of. | |
| warnings | Yes | ||
| sourceUrl | Yes | Canonical URL of the data source. | |
| termsNote | Yes | Short terms caveat for this source. | |
| attribution | Yes | Attribution wording the provider requires. Show it to users. | |
| retrievedAt | Yes | ISO 8601 time with offset when data was fetched by this server. | |
| cacheAgeSeconds | No |