Find a free class to book
search_classesBookable aggregator: search by sport (crossfit, hyrox, yoga, pilates, boxing / boxe, martial_arts / arts martiaux, dance / danse, climbing / escalade, padel), city and optional date and time. Gyms on Gymmy that accept visitors return their real free classes (spotsLeft and capacity from the planning) and a bookingUrl that opens the gym's page on that class. Gyms not on Gymmy come back under listings, with slots empty and no booking link. A Gymmy class can be booked with its bookingUrl or with book_dropin. A hidden test gym is never returned. 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
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_classes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | No | Only this gym (Gymmy id from search_gyms). | |
| lat | No | Latitude to search around. | |
| lng | No | Longitude to search around. | |
| date | No | Only this day (YYYY-MM-DD). | |
| time | No | Only classes starting within 45 minutes of this time (HH:MM), on the gym clock. | |
| class | No | Kind of class or coach to match, e.g. 'WOD', 'HYROX', 'Yoga'. | |
| limit | No | Max results. Default 15. | |
| query | No | City, district, postcode or address ('Lyon', 'yoga Lyon', 'padel à Bordeaux'). A sport in the text is the sport filter. Geocoded when no lat/lng is given. | |
| sport | No | Discipline: crossfit, hyrox, yoga, pilates, boxing (boxe), martial_arts (arts martiaux), dance (danse), climbing (escalade), padel. French names are accepted too. | |
| locale | No | Answer language: fr (default), en, pt, es or de. Pass en when the person writes in English. | |
| radius_km | No | Radius in km, 1 to 50. Default 15, or fitted to the place. |