Get seat availability
get_availabilityCheck real-time seat inventory for an exact train and station pair. Returns explicit unsupported status when provider cannot verify availability, preventing fabricated results.
Instructions
Use only to check whether the configured provider exposes seat inventory for an exact train and station pair. The default provider returns an explicit unsupported status and never fabricates inventory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| trainId | Yes | ||
| toStationId | Yes | Canonical ID returned by search_stations. | |
| fromStationId | Yes | Canonical ID returned by search_stations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seats | No | ||
| reason | No | ||
| source | No | ||
| status | Yes | ||
| retrievedAt | Yes |