Geocode
geocodeResolve a place name (city, optionally with state/country) to geographic coordinates (latitude/longitude). Useful before calling air_quality, which needs lat/lon. Example: geocode({ query: "Paris", limit: 5 })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of matching locations to return (default 5). | |
| query | Yes | Place name to look up, e.g. "Paris", "Springfield,IL,US". | |
| _apiKey | No | Optional — your own OpenWeatherMap API key for higher limits; omit to use the shared Pipeworx key. |