list_cantons
List 26 Swiss cantons and their ISO codes to convert canton names into the CH-XX format required by other tools.
Instructions
List the 26 Swiss cantons with their ISO subdivision codes.
Resolve a canton name to the CH-XX code every other tool needs; call this first when the user gives a canton by name.
Use this first to resolve a canton name to the CH-XX code that every other
tool expects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | DE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Human-readable caveat, set when provenance is 'degraded'. | |
| source | Yes | Attribution string of the upstream source. | |
| cantons | Yes | ||
| provenance | Yes | live_api = freshly fetched, cached = in-memory cache, degraded = upstream unreachable, stale or empty payload. | |
| retrieved_at | Yes | ISO-8601 UTC timestamp of the underlying fetch. |