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.
<use_case>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_case>
Use this first to resolve a canton name to the CH-XX code that every other
tool expects.
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": "list_cantons"
}
}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. |