search_locations
Search cities, regions, and provinces within a country by keyword to obtain location codes for filtering business searches.
Instructions
Search cities, regions, and provinces within a country by one or more keywords.
Each keyword triggers a separate API call; results are merged and deduplicated. Returns matching location codes for use in search_businesses filters (city_codes, region_codes, province_codes). Always use this instead of fetching full location lists.
Args: keywords: One or more search terms (e.g. ["Munich"], ["Bavaria", "Bayern", "Munich"]). country_code: ISO 3166-1 alpha-2 country code (e.g. "DE", "GB"). language_code: Display language for results (e.g. "en", "de", "fr").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | Yes | ||
| country_code | Yes | ||
| language_code | No | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |