List sub-regions of a region
nusa_region_childrenLists child Indonesian administrative regions by Kemendagri code, with an optional level to retrieve districts or villages below a region; supports pagination via limit and cursor.
Instructions
Lists child wilayah of a region code (e.g. kecamatan of a kabupaten). Use level to jump several levels down (e.g. all desa of a kabupaten). Paginated with limit and cursor.
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_children"
}
}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 |
| level | No | Target level below the region. Default: direct children. | |
| limit | No | ||
| cursor | No | Opaque cursor from a previous result. |
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 |