predict_price
Analyzes hotel price trends and historical data to recommend whether to book now or wait for a better deal.
Instructions
Predict whether now is a good time to book a hotel, or if the user should wait for a better price.
Uses historical price data and trends to assess whether the current price is a good deal.
Call this when a user asks "Should I book now or wait?" or wants to know if a price is good.
Args:
hotel_id: The hotel's Vervotech property ID (from search results).
checkin: Check-in date in YYYY-MM-DD format.
checkout: Check-out date in YYYY-MM-DD format.
nightly_cash_cost: The current nightly cash rate for the hotel.
nightly_cash_cost_currency: Currency of the cash rate (e.g. "USD", "EUR").
nightly_points_cost: Optional current nightly points cost for the hotel.
Returns:
Price prediction with recommendation (book now vs wait), confidence level, and key signals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkin | Yes | ||
| checkout | Yes | ||
| hotel_id | Yes | ||
| nightly_cash_cost | Yes | ||
| nightly_points_cost | No | ||
| nightly_cash_cost_currency | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |