point_in_polygon
Determines whether a latitude/longitude point lies inside a GeoJSON Polygon or MultiPolygon for spatial containment checks.
Instructions
True if the point is inside a GeoJSON Polygon or MultiPolygon (GeoJSON is lon, lat order).
polygon_geojson is the GeoJSON object itself or a JSON string of it.
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": {
"lat": "<lat>",
"lon": "<lon>",
"polygon_geojson": "<polygon_geojson>"
},
"name": "point_in_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| polygon_geojson | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |