Search hotels
search_hotelsFind hotels with availability and pricing by entering a destination and dates. The tool converts dates and resolves destination IDs automatically.
Instructions
Search hotels by destination and dates, with prices and availability. Give dates as YYYY-MM-DD; they are converted to the format the API expects. The destination is resolved to an internal id automatically.
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": {
"destination": "<destination>",
"checkIn": "<checkIn>",
"checkOut": "<checkOut>"
},
"name": "search_hotels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rooms | No | Default 1 | |
| adults | No | Default 2 | |
| checkIn | Yes | YYYY-MM-DD | |
| checkOut | Yes | YYYY-MM-DD | |
| currency | No | Default USD | |
| destination | Yes | City, airport, or hotel name |