Search Locations
search_locationSearches LockTrip destinations (cities, regions, landmarks, or specific hotels) by free-text query. Returns locations[], each with id, name, country, type (CITY/REGION/HOTEL/AIRPORT/POI), and fullName. Pass a chosen location's id to hotel_search as its regionId to search hotels in that area. No authentication required. This is the first step of the booking flow.
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": {
"query": "<query>"
},
"name": "search_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (city name, region, or hotel name) | |
| language | No | Language code (default: en) |