Get municipality at coordinates
get_municipalityFind the Swiss municipality containing a WGS84 coordinate and return its official BFS number and canton. Use it to resolve GPS points to communes for geospatial and administrative lookups.
Instructions
Return the Swiss municipality (Gemeinde) containing the given WGS84 point, including its official BFS number and canton.
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>"
},
"name": "get_municipality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | WGS84 latitude (Switzerland: ~45.8–47.9) | |
| lon | Yes | WGS84 longitude (Switzerland: ~5.9–10.6) |