Geocode Location
weather.location.geocodeConvert location names to geographic coordinates or reverse geocode coordinates into place names. Supports forward and reverse geocoding with result limits.
Instructions
Geocode a location query to coordinates
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Location name or coordinates to geocode | |
| type | No | Geocoding direction: forward (name to coords) or reverse (coords to name) | |
| limit | No | Max number of results (1-5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |