search_hotels
Find available hotels by specifying location, dates, and guest requirements to compare accommodation options for travel planning.
Instructions
Search for available hotels in a location.
Args: location: City or location name (e.g., "Paris", "New York") checkin_date: Check-in date in YYYY-MM-DD format checkout_date: Check-out date in YYYY-MM-DD format guests: Number of guests (default: 1) rooms: Number of rooms needed (default: 1) min_rating: Minimum hotel rating (0-5, optional)
Returns: Dictionary with hotel search results
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": {
"location": "<location>",
"checkin_date": "<checkin_date>",
"checkout_date": "<checkout_date>"
},
"name": "search_hotels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | ||
| checkin_date | Yes | ||
| checkout_date | Yes | ||
| guests | No | ||
| rooms | No | ||
| min_rating | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||