prepare_booking_cancellation
Prepare cancellation of one exact booked class in a confirmed gym time zone by reading the fresh daily schedule and showing a credit-loss preview before any execution.
Instructions
Read the fresh daily schedule and prepare cancellation of one exact own booked class in a user-confirmed gym IANA zone. No reservation ID or family selector is accepted. Unsupported or ambiguous targets receive no reference. Show possible credit loss, including the published 9NBC 90-minute rule. Preparation sends no POST. Always show the exact full preview and obtain separate account-holder confirmation before execution with confirmed: true. Booking and publication preference switches do not affect this action.
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": {
"date": "<date>",
"className": "<className>",
"startTime": "<startTime>",
"endTime": "<endTime>"
},
"name": "prepare_booking_cancellation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| gymId | No | ||
| endTime | Yes | ||
| className | Yes | ||
| startTime | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | Yes | ||
| action | Yes | ||
| credit | No | ||
| status | Yes | ||
| target | Yes | ||
| notices | Yes | ||
| expiresAt | No | ||
| alternatives | Yes | ||
| currentState | No | ||
| actionReference | No | ||
| writeConfirmationRequired | Yes |