get_provinces
List provinces for a country using an ISO country code, with optional region filter. Returns province codes for use in cities or business searches.
Instructions
List provinces for a country, optionally filtered by region code.
Use the returned codes as province_code in get_cities or search_businesses.
Args: country_code: ISO 3166-1 alpha-2 country code (e.g. "GB", "DE"). region_code: Optional region code from get_regions to narrow results. language_code: Display language for results (e.g. "en", "de", "fr").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country_code": "<country_code>"
},
"name": "get_provinces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country_code | Yes | ||
| region_code | No | ||
| language_code | No | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |