list_districts
Retrieve districts (Quận/Huyện) for a given province code. Use for level=3 administrative schema; level=2 returns empty because district level was abolished in 2025.
Instructions
List districts (Quận/Huyện) within a province. Only meaningful for level=3 (pre-2025 3-tier schema, default). With level=2 the response is empty because the district level was abolished on 2025-07-01.
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": {
"province_code": "<province_code>"
},
"name": "list_districts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Number of administrative tiers. 3 = pre-reform 63 tỉnh, Tỉnh→Quận→Phường (default when omitted). 2 = post-2025-07-01 34 tỉnh, Tỉnh→Phường (no district). For new addresses use level=2. | |
| province_code | Yes | Province code from list_provinces. Required. |