Find a place in India or the United States
footprint_search_placesFind places in India or the United States by name and get their coordinates, to use with the other Footprint tools.
India: about 1.2 million places down to villages. Village names repeat
heavily (dozens of Rampurs), so each match gives its kind, its state and,
for villages and localities, the nearest town ("near Zaidpur"). United
States: about 190,000 cities, towns, localities, counties and states, and
five-digit ZIP codes. A name both countries have ("Salem", "Delhi")
answers for India unless a US state follows it or country is 'us'; when
matches from both are listed, each says its country. A country in the
query is taken at its word ("Austin, Texas, USA", "Salem, India"). Returns
name, kind, state, lat, lon for each match, best first. A pasted
"lat, lon" also works.
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": {
"query": "<query>"
},
"name": "footprint_search_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many matches to return. | |
| query | Yes | Place name. India: village, locality, town, city, district or state ('Whitefield', 'Karumuru'). United States: city, town, county, state or ZIP code, with the state where it helps ('Austin TX', 'Denver, Colorado', '10001'). | |
| country | No | Optional: 'in' (India) or 'us' (United States) to search one country. Left out, India is searched, and the United States too when the query names a US state or ZIP code or a place only the United States has. | |
| near_lat | No | Optional: rank matches near this latitude first. | |
| near_lon | No | Optional: rank matches near this longitude first. |