get_population
Retrieve permanent resident population statistics for Switzerland, a specific canton, or all cantons, with optional year selection from 2010 onward.
Instructions
Permanent resident population (BFS STATPOP) for Switzerland, a canton or all cantons
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_population"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | STATPOP year, from 2010; default is the latest published | |
| canton | No | Canton code or name (e.g. ZH, Geneva); 'all' for every canton; omit for national total |