geocode
Convert an address, place name, street, or intersection into coordinates and structured location results. Use when input is text and you need coordinates before routing, weather, or search. Supports street-level resolution and proximity biasing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Number of candidates to return (default 5, max 40) | |
| query | Yes | Address, place name, street, intersection (e.g. 'Broadway and 42nd Street New York'), or free-form location text | |
| layers | No | Restrict to: address, street, venue, locality. Use layers=street when user clearly wants a street entity. Use layers=venue for stadiums, monuments, parks, and named POIs (e.g. 'Minute Maid Park', 'Lambeau Field', 'Statue of Liberty') — bypasses address-parser tokenization that otherwise resolves venue+state to the state region centroid | |
| focus_lat | No | Bias results near this latitude — use when user says 'near me' or 'close to' | |
| focus_lon | No | Bias results near this longitude | |
| boundary_country | No | ISO country code to reduce ambiguity (alpha-2 or alpha-3) |
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 |