Show a bus seat map
explain_seat_mapDraws a bus seat map from seat data to show numbers, prices and sold seats, then suggests available seats matching user preferences for one bus.
Instructions
Draw a bus's seat map with seat numbers, prices and booked seats, and suggest seats.
Use when the user asks about one bus. The seat data must be read from the official site's seat selection page; this tool does not fetch it. The user then names the seats they want.
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": {
"operator": "<operator>",
"departure": "<departure>",
"seats": "<seats>"
},
"name": "explain_seat_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site the map was read from, e.g. redBus. | |
| front | No | Where the front of the bus (driver) is on screen: top, bottom, left or right. Leave empty to detect. | |
| seats | Yes | Every seat read from the site's seat map. Never invent seats. | |
| operator | Yes | Operator name as shown. | |
| departure | Yes | Departure time, HH:MM. | |
| preferences | No | What the user prefers: window, aisle, front, back, together, lower, upper, cheapest, sleeper (a berth, on buses with both), seater. | |
| seats_wanted | No | How many seats the user needs (default 1). | |
| labels_are_positions | No | True when the site shows no seat numbers and you labelled seats by position (always the case on MakeMyTrip). |