Check Availability
check_availabilityUse this when the user has a specific item in mind (a supply_id from search_supply or the product feed) and you need to verify it is actually available for their dates before quoting. Returns a live supplier availability answer and the current price for the window. Without travelers it returns unit options but no party price, lines, or party-specific availability; an actually sold-out departure remains unavailable. Scheduled experiences return their departures in occurrences (occurrence_id, local start/end, seats left); if several fit, ask the user and pass the chosen occurrence_id to create_quote. Rentals return rental terms; pass rental_selection (duration, local pickup time, items and kits with quantities) for the exact price, the return time and units_left per item; a refusal names the rule or the item that is short. Read-only — it never holds inventory or locks a price. create_quote records the selected current price and terms; checkout revalidates them. Pass the user's currency as currency whenever you know it, signed in or not.
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": {
"request": "<request>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Input for checking live availability of one supply item. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| lines | No | ||
| rental | No | ||
| add_ons | No | ||
| message | No | ||
| available | Yes | ||
| supply_id | Yes | ||
| error_code | No | ||
| minimum_age | No | ||
| occurrences | No | ||
| price_basis | No | ||
| confirmation | No | ||
| price_amount | No | ||
| rate_options | No | ||
| accommodation | No | ||
| hotel_options | No | ||
| price_display | No | ||
| price_currency | No | ||
| next_departures | No | ||
| price_conversion | No | ||
| supplier_options | No | ||
| price_unknown_reason | No | ||
| availability_confirmed_at | No |