search_hotels
Searches hotels and other places to stay by city or country and check-in/check-out dates, with optional filters for brand, room type, maximum nightly rate, star rating and amenities. Results come from our hotel partners and hotels contracted directly with Autonomad, and include room options, the cancellation policy, a photo and whether each result can be booked. Prices: quote all_in_usd (all_in_per_night_usd per night), the full price of the stay, and say how it is paid: paid_at_booking_usd on autonomad.ai at booking, plus due_at_hotel_usd collected by the hotel at check-in (resort or property fees, named in due_at_hotel_fees). A hotel with hotel_fees_unknown has no all-in price: say its hotel fees could not be confirmed, never that nothing is due at the hotel. max_rate_usd and cheapest-first use the all-in nightly price. brand keeps only hotels of that brand (e.g. "Kimpton"). Every star level is included, ranked best first (guest score or star rating, then price); a hotel whose star rating is unknown has stars null. If the person wants only higher-rated hotels, pass min_star_rating (hotels with an unknown rating are then left out and counted in meta.unrated_excluded); if they want the cheapest first, pass flexible: true. Searching does not reserve anything or charge anyone. If the traveler gave no length, assume about 7 nights abroad (6 for Mexico, 4 for Canada from the US), 3 at home, and tell them it's an assumption. After showing hotels, offer the person a booking link for the one they like; when they pick one or ask how to book, call create_booking_intent with that hotel from these results (searching again is not needed to book).
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": {
"check_in": "<check_in>",
"check_out": "<check_out>"
},
"name": "search_hotels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name (e.g., 'New York', 'Tokyo') | |
| brand | No | Hotel brand to keep (matched on the brand or the hotel name, any case, e.g. "Kimpton") | |
| place | No | The exact place of this trip stop: the `place` an earlier search for the trip returned, or the candidate the person picked when a search asked which place they meant. Searches given the same place cover the same place. | |
| region | No | State / region of the city (e.g. 'NV', 'Nevada', 'Maine'), when known. | |
| country | No | ISO 3166-1 alpha-2 country code (e.g., 'US', 'JP') | |
| check_in | Yes | Check-in date (YYYY-MM-DD) | |
| flexible | No | true: order results cheapest first (by the all-in nightly price) instead of best first. | |
| latitude | No | Latitude of the destination, when known. | |
| amenities | No | Required amenities (wifi, gym, pool, spa, restaurant, etc.) | |
| check_out | Yes | Check-out date (YYYY-MM-DD) | |
| longitude | No | Longitude of the destination, when known. | |
| room_type | No | ||
| max_rate_usd | No | Maximum ALL-IN nightly rate in USD (including fees collected by the hotel) | |
| min_star_rating | No | Minimum star rating (1-5). Hotels whose rating is unknown are left out and counted in meta.unrated_excluded. | |
| destination_iata | No | IATA code of the airport the traveler flies into (e.g. 'LAS'). Pass it whenever a flight is known: it decides which same-named city is meant (Las Vegas NV vs NM). |