Request a booking
create_bookingSends a booking request for a ride between Tbilisi and Yerevan (a seat, or a whole vehicle) for the passenger. A booking is a request: it is NOT confirmed until a GeoArm Taxi dispatcher contacts the passenger to confirm it. Use the values from get_prices_and_schedule (point, time, car, currency), the passenger's real name and phone, and get the passenger's yes to the price first. Payment is in cash to the driver. Returns the booking number, what was booked, the total, and a status_token for get_booking_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| car | Yes | `sprinter` = a seat on the scheduled minibus (the default choice) | |
| dir | Yes | `tbs-evn` = Tbilisi → Yerevan, `evn-tbs` = Yerevan → Tbilisi | |
| lat | No | ||
| lng | No | ||
| pax | Yes | Passengers; at most `types[car].max` | |
| date | Yes | YYYY-MM-DD, today or later (Tbilisi date), at most a year ahead | |
| lang | No | The language we should use with the passenger (an unknown value is treated as `en`) | en |
| name | Yes | The passenger's name | |
| time | Yes | One of `schedule[dir]` from /api/config, or `other` for a time outside the timetable (whole vehicle; the dispatcher sets the price) | |
| agent | No | If an AI agent makes the booking: its name (e.g. `ChatGPT`, `Claude`). Shown to the dispatcher. When you leave it out, your MCP client's name is used. | |
| notes | No | Flight number, luggage, a child seat request and the like (longer text is cut to 1000 characters) | |
| phone | Yes | The passenger's phone in international format, e.g. +995 5xx xx xx xx | |
| point | Yes | A departure point id from `points[dir]` in /api/config, or `@addr` for pick-up from an address (extra fee, confirmed by the dispatcher) | |
| address | No | Required with `point: "@addr"` unless `lat`/`lng` are given | |
| currency | Yes | One of `currencies` from /api/config; the price is taken from the server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | The booking number | |
| status | No | ||
| booking | No | What was booked, as the server understood it | |
| message | No | A sentence for the passenger, in `lang` | |
| telegram | No | A link the passenger can open to get the confirmation in Telegram | |
| confirmed | No | Always false here: a dispatcher confirms later | |
| status_url | No | ||
| status_token | No |