search_classes
Find bookable Wellpass studio or online classes by date, category, teacher, and availability, returning soonest sessions with free spots and details.
Instructions
Search bookable Wellpass classes for a studio (or online), with filters.
Needs WELLPASS_EMAIL and WELLPASS_PASSWORD in .env (classes are gated).
Pick ONE target:
- studio_slug: a studio from search_studios (its classes).
- club_uuid: the club_uuid field from a search_studios result.
- online=True: the online / live-stream class catalogue.
Args:
studio_slug: Studio slug whose classes to list.
club_uuid: Netpulse club uuid (from search_studios club_uuid).
online: Search the online class catalogue instead of a studio.
date_from: ISO date/datetime for the window start. Default: now.
date_to: ISO date/datetime for the window end. Default: now + 7 days.
category: Keep classes whose activity matches (e.g. "yoga", "Body & Mind").
teacher: Keep classes by this instructor (substring, case-insensitive).
available_only: Keep only classes with a free spot.
limit: Max classes to return (1-100). Default 30.
Returns: A dict with the resolved club, the window, and a class list (soonest first). Each class has name, category, start/end, teacher, free spots, capacity, and online flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| online | No | ||
| date_to | No | ||
| teacher | No | ||
| category | No | ||
| club_uuid | No | ||
| date_from | No | ||
| studio_slug | No | ||
| available_only | No |