Resolve a location
goplaces_resolveResolve free-form location text into candidate Google places with coordinates and place IDs, so you get structured results before nearby searches or directions.
Instructions
Resolve a free-form location string into candidate Google places with coordinates and place IDs. Use before nearby searches or directions when you need structured candidates for an address, landmark, city, or venue.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"location_text": "<location_text>"
},
"name": "goplaces_resolve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum candidate locations. | |
| region | No | Optional CLDR region code, for example 'US' or 'DE'. | |
| language | No | Optional BCP-47 language code, for example 'en' or 'en-US'. | |
| location_text | Yes | Free-form location text, e.g. 'Riverside Park, New York'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only on failure; the result is also flagged isError. | |
| results | No |