Find matching rooms
find_matching_roomsFind the specific hotel rooms that fit a traveler, with the evidence behind each fact. Use this whenever the traveler cares about the room itself: bed, view, bathtub, balcony, accessibility, floor, quiet, Wi-Fi, connecting rooms, kitchenette, pets, blackout, a desk, distance from the elevator, a window that opens. Translate what they say into must_have (deal-breakers) and nice_to_have (wishes). Matches meet every must-have on evidence; 'possible' rooms have a must-have nobody has confirmed and must never be presented as matches. Results are numbered rooms where Roomza holds the hotel's room records, otherwise room types, labeled as such. Then call show_rooms with the matches' room_ids (or the hotel_id for room types), and secure_room to price and book a room the traveler picks.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_matching_rooms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many matches (default 6) | |
| hotel_id | No | Search one hotel's rooms (UUID) | |
| must_have | No | Deal-breakers: a room that lacks one is left out | |
| destination | No | City, neighborhood, landmark, or hotel name. Give this or hotel_id. | |
| nice_to_have | No | Wishes that rank the rooms | |
| use_my_preferences | No | Add the signed-in traveler's saved room preferences as wishes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes | Rooms whose evidence meets every must-have, best suited first | |
| possible | Yes | Rooms where a must-have is unknown or unverified: never present these as matches | |
| hotelsSearched | Yes |