Union Polygons
union_toolMerge multiple polygons into one geometry to combine service areas or coverage regions. Operates offline without API calls.
Instructions
Merge two or more polygons into a single unified geometry. Useful for combining service areas, delivery zones, isochrones, or coverage regions. Returns a Polygon or MultiPolygon if the inputs do not overlap. Works offline without API calls.
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": {
"polygons": "<polygons>"
},
"name": "union_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| polygons | Yes | Array of polygons to merge into a single union geometry |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Geometry type: Polygon or MultiPolygon | |
| geometry | Yes | GeoJSON geometry of the merged polygon (Polygon or MultiPolygon) |