lookup_building
Retrieve complete Swiss building data by EGID using the live geo.admin.ch API, ensuring current information for administrative joins.
Instructions
Look up a single building by its EGID (federal building identifier).
Uses the live geo.admin.ch API — always current, no dump download needed. The EGID is the join key used across Swiss administrative data.
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_building"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| egid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | 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. | |
| building | No | ||
| provenance | Yes |