List supported cities by country
list_citiesRetrieve all supported city slugs grouped by country to discover valid slugs for cost-of-living comparisons. Optionally filter by country.
Instructions
List all city slugs supported by cityparity, grouped by country. Call this first to discover valid slugs before any other tool; the optional country filter narrows to one country. Read-only, no side effects; returns a text summary plus structured JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Optional case-insensitive country filter. Use the canonical name as stored in city_data.country (e.g. "Norway", "USA", "United Kingdom"). If omitted, returns all countries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| country_count | Yes | ||
| groups | Yes |