get_availability
Use this when the user is ready to check live bookable dates, times, prices, or remaining spaces for one selected product. This is the live supplier-check tool; pass product_id from search or slug plus city_slug. Slot price.amount is in MINOR currency units (pence/cents): amount 13125 with currency_code GBP means GBP 131.25. Slot time is venue-local; when the venue timezone is known, timezone carries its IANA name and datetime/next_available carry the real UTC offset (e.g. 2026-07-18T19:30:00+02:00), so they are safe for time math.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Product slug. Use with city_slug when product_id is unavailable. | |
| as_of | No | Previous ISO timestamp from stale card data; returns a delta when a retained cacheable snapshot changed. Live-only inventory does not retain snapshots and omits this delta. | |
| fresh | No | When true, bypasses the 60-second cache and performs a live supplier check, subject to rate limits. Live-only inventory is always checked live regardless of this flag. | |
| date_to | No | End date as YYYY-MM-DD or a natural-language phrase (same as date_from). Defaults to 14 days after date_from and is capped to a 365-day window. | |
| city_slug | No | City slug required when slug is used. | |
| date_from | No | Start date as YYYY-MM-DD, or a natural-language phrase the server resolves: today, tomorrow, this Saturday, next Friday, this weekend, next weekend. Defaults to today. | |
| party_size | No | Number of guests. Default 2. | |
| product_id | No | Stable product_id from a search or details response. Preferred when available. | |
| preferred_time | No | Optional broad time preference such as morning, afternoon, or evening. | |
| idempotency_key | No | Optional UUID. Cacheable inventory may reuse an identical response for up to five minutes; live-only inventory always rechecks and never replays a resolved response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| slots | No | ||
| detail | No | ||
| message | No | ||
| timezone | No | ||
| error_type | No | ||
| product_id | No | ||
| total_slots | No | ||
| inventoryLevel | No | ||
| next_available | No | ||
| schema_version | No | ||
| provenance_level | No | ||
| book_now_confidence | No |