resolve_location
Resolve an address or named area into candidate coordinates via Nominatim, providing map editors with location options for further processing.
Instructions
Resolve an address or named area into candidate coordinates using Nominatim.
No OAuth. Preserve candidate order; ambiguous=true means ask the user or use supplied context. importance is prominence, not confidence. countrycodes are ISO alpha-2 filters; viewbox=[west,south,east,north] is a preference, not a hard boundary. language selects display names. Never infer the user's location. Empty candidates are a successful empty search; provider failures are errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| viewbox | No | ||
| language | No | ||
| countrycodes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | Yes | ||
| success | Yes | ||
| error_details | No |