List Municipalities
list_municipalitiesRetrieve Italian municipalities with ISTAT codes, filter by name, and optionally include Belfiore (cadastral) codes. Supports pagination and language selection.
Instructions
Browse Italian municipalities (comuni) with their codes.
Args:
limit: Items per page (default: 50, max: 500)
offset: Items to skip (default: 0)
keyword: (optional) Filter by name (case-insensitive)
withBelfiore: (optional) If true, include Belfiore/cadastral codes via URI extraction (slower)
lang: "it" | "en" | "any" (default: "any")
Returns:
municipalities: List of cities with ISTAT code, name, and optionally Belfiore code
pagination: Total count, offset, has_more
Note: Uses BIND+REPLACE URI extraction for Belfiore codes to avoid Virtuoso timeout on identifierType joins. Each ISTAT code may appear with multiple historical names; results are deduplicated by notation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Preferred name language; "any" keeps all languages. | any |
| limit | No | Items per page (max 500) | |
| offset | No | Items to skip | |
| keyword | No | Filter by municipality name | |
| withBelfiore | No | Include Belfiore/cadastral codes |