Upcoming classes with availability state and booking links
list_classesDated classes from today in the gym's time zone, up to 14 days, each with an availability state (never a raw count) and, where LiLo can prove it, a book link that lands on that class. Schedules without observed dates come back as weekly rows (date null, recurring true) — say "repeats on Monday", never a date. A stale or unverified schedule returns no classes on purpose. Same answer as GET /api/v1/gyms/{slug}/classes.
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": {
"slug": "<slug>"
},
"name": "list_classes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| slug | Yes |