geo_search_communes
Search French communes by name, postal code, or department code. Use at least one filter for bounded results.
Instructions
Search communes by name, postal code, and/or parent department.
At least one of nom, code_postal, or code_departement must be non-empty so the
query stays bounded (the upstream API can return very large slices without filters).
Args:
nom: Substring or fuzzy name (e.g. Paris); optional if other filters are set.
code_postal: Five-digit postal code; optional if other filters are set.
code_departement: Department code (e.g. 75); optional if other filters are set.
boost_population: When true, rank name search by population (upstream boost param).
limit: Maximum number of results (keep small, e.g. ≤ 50).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nom | No | ||
| limit | No | ||
| code_postal | No | ||
| boost_population | No | ||
| code_departement | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| communes | No | Matching communes in API order (often best match first when searching by name). |