municipality_housing_stats
Retrieve a Swiss municipality's housing stock overview, including building counts, dwelling totals, and room-size mix, from official register data.
Instructions
Housing stock overview of a municipality: buildings, dwellings, room-size mix.
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": {
"municipality_bfs": "<municipality_bfs>"
},
"name": "municipality_housing_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canton | No | ||
| municipality_bfs | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Data: Federal Register of Buildings and Dwellings (GWR/RegBL), Swiss Federal Statistical Office (BFS) — OGD, free use with attribution. Daily public extract via public.madd.bfs.admin.ch and api3.geo.admin.ch. | |
| provenance | Yes | ||
| municipality | Yes | ||
| buildings_total | Yes | ||
| dwellings_total | Yes | ||
| municipality_bfs | Yes | ||
| dwellings_by_rooms | Yes | ||
| buildings_residential | Yes |