Find bookings by email and last name
listBookingsRetrieve a customer's hotel bookings by matching their booking email and last name; both must match to return booking IDs, status, hotel, dates, guests, price, and cancellation policy.
Instructions
Find a customer's hotel bookings by the email address and last name used to book.
Both must match the booking holder; nothing is returned otherwise. Returns each booking with its bookingId, status, hotel, dates, guests, price and cancellation policy.
To look up, change or cancel one booking, use its bookingId with the same email in the booking tools.
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": {
"email": "<email>",
"lastName": "<lastName>"
},
"name": "listBookings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The email address used to make the bookings. | ||
| lastName | Yes | The booking holder's last name. |