Check allocation for a stay
check_availabilityVerify per-night allocation and arrival-day charge rules for one pitch type across a stay, showing whether every night is available before booking.
Instructions
For one pitch type and a stay (arrive to depart), the allocation of every night and the arrival-day rules on the arrival date for that pitch type's charge types. The guide says a stay is bookable when every night has allocation, a pitch is free for the whole stay and prices cover the period: this tool checks the first and shows the arrival-date rules, but does not reproduce Pitchup's pitch assignment or price calculation.
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": {
"pitch_type_id": "<pitch_type_id>",
"arrive": "<arrive>",
"depart": "<depart>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arrive | Yes | Arrival date | |
| depart | Yes | Departure date (the last night is the day before) | |
| pitch_type_id | Yes | Pitch type ID (a positive whole number) |