search_locations
Find cities and towns by partial name or postcode to get coordinates, region, and country data for location selection in weather applications.
Instructions
Search for cities and towns by partial name or postcode. Returns an array of matching locations with their coordinates, region, country, and URL slug. Useful for building location pickers or resolving ambiguous place names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Partial city name, postcode, or coordinates to search. E.g. 'lond', 'SW1', 'paris'. |