Get Free Seats
get_free_seatsFind available seats by seat class for each section of a RegioJet route, listing free seat numbers per carriage, bus, or deck.
Instructions
Get free seats per vehicle (carriage/bus) offering the given seat class, for each section of a route.
Double-decker buses are one vehicle with several decks; seats are listed per deck.
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": {
"sections": "<sections>",
"seat_class": "<seat_class>"
},
"name": "get_free_seats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Response language; defaults to server setting. | |
| tariffs | No | Passenger tariff per traveller, e.g. ['REGULAR', 'REGULAR', 'CHILD_UNDER_12']. See list_tariffs. | |
| sections | Yes | Sections from get_route_detail (section_id, departure_station_id, arrival_station_id). | |
| seat_class | Yes | seat_class key from get_route_detail price_classes, e.g. 'TRAIN_LOW_COST', 'C0'. | |
| include_seat_numbers | No | List individual free seat numbers per vehicle. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |