Cancel a booking
cancel_bookingCancels the signed-in member's booking (or waitlist spot) for a class. The gym's cancellation deadline applies; a late cancel may count as used.
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": {
"class_id": "<class_id>",
"date": "<date>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | No | Gym id (from my_schedule or my_gyms). Optional: found from the class when you belong to several gyms. | |
| date | Yes | Class date (YYYY-MM-DD). | |
| locale | No | Answer language: fr (default), en, pt, es or de. Pass en when the person writes in English. | |
| class_id | Yes | Class id (from my_schedule). |