Class schedule
get_scheduleUpcoming classes of a bookable Gymmy gym (next 14 days): time, duration, spots left, and a booking link with the class already picked. Also the gym's address and maps link. Refuses a gym with bookable: false. Each gym includes, when Gymmy has it: full address, city, country, coordinates (geo), mapsUrl (Google Maps), directionsUrl, appleMapsUrl, logoUrl (the salle logo or a sourced photo, null when there is none), listingUrl (public page, null when the gym is not public), phone, public email, website and opening hours, and null for anything Gymmy does not have. gym, classId and memberId are internal ids, used as arguments of other Gymmy tools.
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": {
"gym": "<gym>"
},
"name": "get_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | Yes | Gym identifier: the `gym` value from search_gyms (page slug or Gymmy id). | |
| date | No | Only this day (YYYY-MM-DD). | |
| locale | No | Answer language: fr (default), en, pt, es or de. Pass en when the person writes in English. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | No | A gym. `gym` is its internal id, used as an argument of other Gymmy tools. | |
| kind | Yes | ||
| classes | No |