Geofence point-in-polygon check
route-optimization_geofence-checkTest points against GeoJSON service zones with holes, reporting inside/in-hole status and nearest boundary distance. Price $0.02 USDC. POST /api/v1/route-optimization/geofence-check. An unpaid call returns the x402 payment terms and does not run.
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": {
"zones": "<zones>",
"points": "<points>"
},
"name": "route-optimization_geofence-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zones | Yes | zones, object. Required. | |
| points | Yes | points, array. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | results. Array. | |
| sources | No | sources. Array. | |
| limitations | No | limitations. Array. |