Resolve business types and locations
resolve_parametersResolve a search query into types + locations + account permissions. Call this FIRST for any business search or export.
Returns: account (permissions), found_types (slugs), found_locations (admin zones + geo polygons).
found_locations is ordered so the first entry matches the query's shape:
When the query describes an administrative area (city, department/county, region/state, country), a zone entry is listed first at the matching level. Pass its params to search_businesses.
When the query describes a sub-administrative area (street, square, neighbourhood, custom shape), the polygon is listed first. Pass its geo_polygon to search_businesses.
When multiple polygon candidates describe the same place (e.g. city vs larger arrondissement), polygon_source="osm_admin_boundary" is more precise than "osm_bounding_box". This ranks polygons against each other only — not polygons against zones.
If no found_location matches the user's intent, call this tool again with a corrected location_query (fix spelling, singular/plural, add city name). Do not guess coordinates — always use data from this tool.
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_query": "<location_query>"
},
"name": "resolve_parameters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | ||
| type_query | No | ||
| location_query | Yes |