Find the region of each point
locate_pointsFor each latitude/longitude, find the country, its state/province/region (ISO 3166-2) and, in the US, the county (FIPS). Works offline. With map set, also draws a map of how many points fall in each area (regions of the main country, US counties, or countries). Returns one line per point (country › region › county); to pin each point on a map instead use generate_pin_map.
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": "locate_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map | No | Also draw a map of counts per area: auto picks the finest level that fits; leave out for text only. | |
| title | No | Title of the map (only with map). | |
| points | Yes | The points, each with latitude, longitude and an optional name. |