list_admin_units
Retrieve administrative units from the Philippine Standard Geographic Code (PSGC) hierarchy. List children of any node or get top-level regions, with optional level filter and pagination.
Instructions
Browse children of a PSGC node, or top-level regions when parent_code is None.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_code | No | Parent PSGC code. None returns the regions list. | |
| level | No | Filter children by level (region|province|city|municipality|district|barangay). | |
| limit | No | Max units to return (default 50, capped at 500). | |
| offset | No | Skip this many matching units before returning results — page past 500 children (e.g. Manila has 897 barangays) by calling again with offset=500. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |