calculate_tariff
Calculate booking tariffs based on season, number of guests, and booking channel using real configuration data for TreePod Glamping reservations.
Instructions
Calcula tarifas para reservas según temporada, personas y canal basado en configuración real
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkin_date | Yes | ||
| checkout_date | Yes | ||
| guests | Yes | ||
| channel | No | directo |
Input Schema (JSON Schema)
{
"properties": {
"channel": {
"default": "directo",
"type": "string"
},
"checkin_date": {
"type": "string"
},
"checkout_date": {
"type": "string"
},
"guests": {
"maximum": 4,
"minimum": 1,
"type": "number"
}
},
"required": [
"checkin_date",
"checkout_date",
"guests"
],
"type": "object"
}