get_hotels
Search for hotels by city IATA code, with filters for check-in/out dates, guest count, price range, and ratings. Retrieve hotel names, ratings, and locations for travel planning.
Instructions
Search for hotels in a city using the city's IATA code. Returns hotel information including names, ratings, and locations.
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": {
"cityCode": "<cityCode>"
},
"name": "get_hotels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Number of adult guests (default: 1) | |
| radius | No | Search radius (default: 5) | |
| ratings | No | Filter by ratings (e.g., '3,4,5') | |
| cityCode | Yes | City IATA code (e.g., 'PAR' for Paris, 'NYC' for New York) | |
| priceRange | No | Price range filter (e.g., '50-200') | |
| radiusUnit | No | Unit for radius: KM or MILE (default: KM) | |
| checkInDate | No | Check-in date in YYYY-MM-DD format | |
| checkOutDate | No | Check-out date in YYYY-MM-DD format |