Get Geometry
get_geometryFetch the actual simplified GeoJSON FeatureCollection geometry for a country/ADM level from geoBoundaries. WARNING: geometry payloads are large (a simplified national ADM1 set can be several MB); this only returns the simplified geometry and refuses payloads over ~4 MB, for those use get_boundaries and download the URL directly. Prefer get_boundaries unless you explicitly need the coordinates. Not valid for adm="ALL".
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"adm": "ADM0",
"iso3": "KEN"
},
"name": "get_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adm | Yes | Admin level (single level only; "ALL" is not supported here). | |
| iso3 | Yes | ISO-3166-1 alpha-3 country code, e.g. "FRA". | |
| product | No | Boundary product. gbOpen (default, CC-BY) | gbHumanitarian | gbAuthoritative. |