prepare_booking_creation
Checks daily schedule and prepares one exact class booking for configured account. Requires exact class name, date, start and end time; returns a preview for confirmation and discloses credit use.
Instructions
Read the current daily schedule and prepare one exact class booking for the configured account. Requires a user-confirmed gym IANA zone and exact class name, date, start and end time. Ambiguous, missing, already booked, waitlisted or unsupported targets receive no action reference. The short-lived reference does not book a class. Show the full preview and obtain explicit account-holder confirmation before execute_booking_creation. Possible credit use and the unverified balance are disclosed.
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 |