lookup_dwellings
Retrieve all dwellings (EWID) for a building using its EGID, with details on rooms, floor area, floor, and status.
Instructions
List all dwellings (EWID) of a building from the daily cantonal dump.
Includes rooms, floor area, floor and status per dwelling.
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": {
"egid": "<egid>"
},
"name": "lookup_dwellings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| egid | Yes | ||
| canton | No | zh |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| egid | Yes | ||
| count | Yes | ||
| 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. | |
| dwellings | Yes | ||
| provenance | Yes |