Merge boundaries
union_boundariesMerges boundaries into one polygon: the union of include minus the union of exclude (e.g. three counties minus one city). Use it for sales territories, delivery zones and service areas. Up to 50 boundaries; costs 1 unit per boundary. Returns a GeoJSON Feature with area_km2. To describe an area in words instead, use create_area. Needs an API key or a connected account.
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": {
"include": "<include>"
},
"name": "union_boundaries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Simplification relative to the boundary's size: low (~1,000 points across, maps and previews), medium (default, ~5,000), high (~25,000), full (unsimplified OSM). | medium |
| exclude | No | Boundary ids to cut out. | |
| include | Yes | Boundary ids to merge. |