List Geographies
list_geographiesBrowse Malaysian administrative geography codes and hierarchy. Filter state, district, parliament, or state assembly levels by parent to find child areas.
Instructions
State / district / parliament (parlimen) / state assembly (DUN)
codes and hierarchy, sourced from DOSM's population tables. level is
one of state, district, parlimen, dun; pass parent (e.g. a state
name) to filter to that parent's children — district and parlimen
take a state, dun takes a parlimen.
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": {
"level": "<level>"
},
"name": "list_geographies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| parent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||