Join a gym
join_gymSigns the signed-in person up to a Gymmy gym's membership or class pack (from get_prices), paid on the gym's own Stripe Checkout page. First call without confirm returns the summary to confirm; then confirm: true with first_name and last_name returns the payment link. Follow up with checkout_status. For a single class or a trial with a class, use book_dropin.
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>",
"offer_id": "<offer_id>"
},
"name": "join_gym"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gym | Yes | Gym identifier: the `gym` value from search_gyms (page slug or Gymmy id). | |
| locale | No | Answer language: fr (default), en, pt, es or de. Pass en when the person writes in English. | |
| confirm | No | true only after the person said yes to the summary returned by the first call. | |
| site_id | No | Site id when the gym has several. | |
| offer_id | Yes | Offer id (from get_prices). | |
| last_name | No | The person's last name (needed with confirm). | |
| first_name | No | The person's first name (asked once, needed with confirm). |