geo_point_in_polygon
Whether a coordinate lies inside a polygon: delivery zones, catchments, congestion or clean-air zones, site boundaries. Provide point {lat, lon} and polygon as 3+ {lat, lon} coordinates of the outer ring (closed automatically if the last does not repeat the first). Points exactly on the boundary count as OUTSIDE. Local computation: no network call, no quota.
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_point_in_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| point | Yes | The coordinate to test. | |
| polygon | Yes | The polygon's outer ring, 3 or more coordinates. Closed automatically if the last point does not repeat the first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inside | Yes | True when the point is strictly inside the ring. Points exactly on the boundary are **not** counted as inside. |