municipality_search
Finds Swiss municipalities by name fragment or postcode. Returns the BFS id, name, canton and postcodes for each match. The BFS id is the key every other tool here takes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "municipality_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Name fragment, e.g. "Uster". Case-insensitive. | |
| zip | No | Four-digit Swiss postcode, e.g. "8308" (which alone spans three Gemeinden). | |
| limit | No | Maximum matches to return (1-50). |