Show daily prices and restrictions
list_daily_ratesUse this when someone asks what a rate costs on specific nights, or about minimum stays, stop-sell or closed-to-arrival dates. Returns the stored per-day price and restrictions of one rate plan over up to 90 days; days without a row use the plan's base price. Not for whether rooms are free.
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": {
"hotelId": "<hotelId>",
"ratePlanId": "<ratePlanId>",
"dateFrom": "<dateFrom>",
"dateTo": "<dateTo>"
},
"name": "list_daily_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | Yes | Last night as YYYY-MM-DD (inclusive); the range covers at most 90 days | |
| hotelId | Yes | Hotel id: 24 lowercase hexadecimal characters | |
| dateFrom | Yes | First night as YYYY-MM-DD (inclusive) | |
| ratePlanId | Yes | Rate plan id, belonging to hotelId: 24 lowercase hexadecimal characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| dailyRates | Yes | Stored per-day rows sorted by date; a date without a row sells at the plan's base price. price is in integer minor currency units. Guest, payment, channel, credential and arbitrary metadata are excluded. |