Check live availability and price
check_availabilityUse this when the traveler has picked a product and a date and wants open times and the exact total for their party. Reads live seats and prices; returns each departure's status, the total in minor units (cents) and a quote_id for create_checkout_session. Trips need one age per child in child_ages.
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": {
"id": "<id>",
"date": "<date>",
"adults": "<adults>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product id from search_products, e.g. 'tour:<uuid>' or 'trip:<slug>'. | |
| date | Yes | Local date at the tour, YYYY-MM-DD. | |
| adults | Yes | ||
| locale | No | Site language for links, e.g. 'en' (default) or 'es'. | |
| infants | No | ||
| children | No | ||
| currency | No | ||
| child_ages | No |