Start a trial class
start_trialGives the link to book a trial class at a bookable Gymmy gym, with the trial offer and optionally the class already picked. The person opens it and confirms with their name and email; nothing is booked or charged by this tool. 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": "start_trial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | Yes | Gym identifier: the `gym` value from search_gyms (page slug or Gymmy id). | |
| date | No | 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 | No | Class id from get_schedule. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | No | A gym. `gym` is its internal id, used as an argument of other Gymmy tools. | |
| url | Yes | ||
| kind | Yes |