geocode_structured
Geocode from discrete address components (address, locality, region, postalcode, country) instead of one free-text string. Use when the input is already fielded (forms, CRM records, stop tables) — skips free-text parsing so components can't be mis-tokenized. At least one component is required. No cross-street field: for named intersections use resolve_intersection or geocode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Number of candidates to return (default 5, max 40) | |
| region | No | State / province — full name or abbreviation (e.g. 'TX') | |
| address | No | Street address — house number + street name (e.g. '1600 Pennsylvania Ave NW') | |
| country | No | ISO 3166-1 alpha-2/alpha-3 country code (full names also resolve) | |
| locality | No | City / town name | |
| focus_lat | No | Bias results near this latitude | |
| focus_lon | No | Bias results near this longitude | |
| postalcode | No | Postal / ZIP code | |
| boundary_country | No | Scope results to this ISO country code — wins over `country` for boundary filtering |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| geojson | No | ||
| metrics | No | ||
| summary | No | Map of scalar facts the LLM should surface verbatim | |
| precision | No | ||
| display_hint | No |