Read bookings
bookings_getRead the bookings of your app. type calendar: the booking calendars (what people book) with their ids and seats per slot. type session, with calendar_id: the booked sessions of a calendar from start_date to end_date, each with its date, times, seats left and attendees; the id of an attendee is the booking_id. type booking, with booking_id: one booking. type closing_day, with calendar_id: the days the calendar is closed, with their ids. To find the booking of a person, read the sessions of the day and look for the name among the attendees. A cancelled booking no longer exists. The answer gives ids, names, emails, dates and times; a refusal names the argument to fix.
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": {
"type": "<type>"
},
"name": "bookings_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | With type session and closing_day: page of the list, starting at 1. | |
| type | Yes | What to read. session and closing_day need calendar_id; booking needs booking_id. | |
| end_date | No | With type session: last day to list, as YYYY-MM-DD. Default: no limit. | |
| per_page | No | With type session and closing_day: rows per page, 100 at most (default 50). | |
| booking_id | No | With type booking: the booking to read (the id of an attendee in a session). | |
| start_date | No | With type session: first day to list, as YYYY-MM-DD. Default: today. | |
| calendar_id | No | Id of a calendar, read with type calendar. Required with type session and closing_day. |