Administrative Boundary Detail
geoboundaries.boundary.detailGet metadata for one country's administrative boundary at a given level: official name, admin unit count, area/perimeter stats, source, license, and download URLs for the full GeoJSON, simplified GeoJSON, TopoJSON, and a preview PNG. Levels: ADM0 (country outline), ADM1 (state/province), ADM2 (county/district), ADM3-ADM5 (finer, country-dependent). Geometry is NOT embedded in the response (files can exceed 10MB) — fetch the returned URL directly for the shapes. Data: geoBoundaries (William & Mary geoLab), no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ISO 3166-1 alpha-3 country code, uppercase (e.g. "USA", "KEN", "FRA"). ISO2 codes and country names are not accepted by the upstream API. | |
| adm_level | No | Administrative boundary level: "ADM0" (country outline), "ADM1" (state/province/region), "ADM2" (county/district), "ADM3"-"ADM5" (finer subdivisions, only available for some countries). Defaults to "ADM0". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |