Overview
Search for a place or address and convert it into coordinates. Use this tool when the user provides:- a place name
- a landmark
- a business
- a street address
- another location description
longitude,latitude format.
Structured input
The search is structured. Parse the user’s location into the fields that can be determined:name— place, landmark, or business namehousenumber— house or building numberstreet— street namepostcode— postal or ZIP codecity— city or localitycountry— country
Limit and filters
limit is optional and defaults to 1.
The maximum value is 10.
Use a larger limit when the location is ambiguous or the user asks for alternatives.
filters can optionally restrict the search.
For example:
Output
coordinates value is in longitude,latitude format and can be passed directly to route, table, or optimize.
When using geocode as part of a routing workflow, verify that the selected result matches the user’s intended place before passing its coordinates to the next tool.
If no result matches, the tool returns an error so the assistant can refine the search.
