Convex Hull
convex_toolComputes the convex hull of points—the smallest convex polygon containing all locations—to bound coverage areas, estimate extent, or wrap location sets offline.
Instructions
Compute the convex hull of a set of points — the smallest convex polygon that contains all the points. Useful for bounding area analysis, estimating coverage area, or wrapping a set of locations. 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": {
"points": "<points>"
},
"name": "convex_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | Points to compute the convex hull from (minimum 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geometry | Yes | GeoJSON Polygon geometry of the convex hull, or null if hull could not be computed | |
| num_points | Yes | Number of input points used |