geo_geofence
Geofence check — Is a point inside a geofence? Offline point-in-polygon with distance to the boundary in meters. point=lat,lon plus any of: polygon=lat,lon;lat,lon;... (3-500 points, several polygons separated by |, optional name: prefix), circle=lat,lon,radius_m (| for several), bbox=minLat,minLon,maxLat,maxLon. Up to 20 fences per call. Returns per fence INSIDE / OUTSIDE / ON EDGE (tolerance= meters, default 5), distance to the nearest edge and the nearest edge point, area, perimeter and centroid, plus an overall verdict and the nearest boundary. For delivery zones, service areas, site check-ins and asset tracking. Price: $0.002 USDC (Base, via x402).
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": {
"point": "<point>",
"polygon": "<polygon>"
},
"name": "geo_geofence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| point | Yes | 40.7829,-73.9654 | |
| polygon | Yes | central-park:40.7681,-73.9819;40.8006,-73.9581;40.7968,-73.9493;40.7644,-73.9730 |