Book a class
book_classBook a place in a class for the signed-in person, by its id from get_club’s classes, only after they have agreed to that class, time and price. A full class cannot be booked: offer join_waitlist instead. It books exactly as 1club.me does: a membership of theirs that covers it is used, otherwise it is paid at the club. The answer gives the booking’s status and how it is covered, as created. A club that requires paying online when booking cannot be booked this way: the error says so.
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": {
"classId": "<classId>"
},
"name": "book_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| classId | Yes | The class’s `id` from get_club. | |
| seatCount | No | How many places, when the person is bringing others. Defaults to 1. |