Find a municipality / Trouver une commune
trouver_communeFind a Swiss municipality by name or postcode; returns its identifier, canton and number of applications in the last 7, 30 and 90 days. / Trouve une commune suisse par son nom ou son numéro postal : identifiant, canton et nombre de demandes récentes.
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": {
"nom": "<nom>"
},
"name": "trouver_commune"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nom | Yes | Name or postcode, e.g. "Sion", "Buchs AG", "8001". / Nom ou numéro postal. | |
| canton | No | Two-letter canton code, e.g. "VS". / Sigle du canton, par exemple « VS ». | |
| langue | No | Language of labels and of the answer (fr, de, it, en). / Langue des libellés et de la réponse. | fr |