Swiss municipality facts (Wikidata)
get_swiss_municipality_factsRetrieve Wikidata facts for a Swiss municipality by name or BFS number—Q-id, canton, population, area, elevation, coordinates, postal codes, website, and Wikipedia link—for enrichment and Q-id joins.
Instructions
Wikidata facts for a Swiss municipality by name or BFS number (P771): Q-id, labels, canton, population (latest, with date), area km², elevation m, coordinates, postal codes, official website, coat of arms image, HLS/DHS id and Wikipedia link. Examples: bfs_number=261 (Zürich), name='Lugano', name='Val de Bagnes'. For official BFS statistics prefer get_population / get_municipality; use this for the Q-id join key and enrichment.
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": "get_swiss_municipality_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Municipality name in any national language, e.g. 'Bern', 'Genève', 'Chur' | |
| language | No | Language for labels and the Wikipedia link (default en) | en |
| bfs_number | No | BFS municipality number, e.g. 261 (Zürich), 351 (Bern) | |
| include_former | No | Also match dissolved/merged municipalities |