Find BJJ classes and open mats
find_classesFind classes on gyms' weekly timetables near a place: open mats, no-gi, kids, fundamentals, competition training, by day (a weekday, today, tonight, tomorrow or a date), time window, gi/no-gi and level. Times are the gym's local wall clock, labelled with its timezone. Timetables are what gyms publish weekly: for one-off cancellations this week check get_gym with sections [changes].
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": "find_classes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gi | No | gi or nogi. Classes with no stated kit are kept. | |
| day | No | monday..sunday, today, tonight (today from 17:00), tomorrow, or YYYY-MM-DD. | |
| days | No | Several weekdays at once, e.g. ["tuesday", "wednesday", "thursday"] for a trip. Use instead of `day`. | |
| from | No | Earliest start, local HH:MM. | |
| near | No | A place the user named ("Lisbon", "Austin, TX", "Kraków, Poland") or "lat,lng". A country or US state searches the whole area. Ask the user rather than guessing their location. | |
| level | No | ||
| limit | No | Results per page (default 10, max 25). | |
| types | No | Class types. Default: adult BJJ (bjj, nogi, fundamentals, advanced, open_mat, competition_training). Kids: kids_bjj. | |
| until | No | Latest start, local HH:MM. | |
| cursor | No | next_cursor from the previous page; repeat the same arguments with it. | |
| detail | No | brief (default) or full: more facts per result, fewer results per page. | brief |
| country | No | Limit to a country by name, e.g. "Portugal". | |
| radius_km | No | Search radius around `near` in km. Defaults to the city's own size (10-40 km). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Caveats to pass on to the user. | |
| total | Yes | ||
| offset | No | ||
| results | Yes | ||
| coverage | No | For thin facts: how many records in the area state the fact at all. Records without it are unknown, not 'no'. | |
| has_more | Yes | ||
| returned | Yes | ||
| candidates | No | Set when the input matched several things: ask the user which one, then call again. | |
| next_cursor | No | ||
| resolved_place | No | Where `near` resolved to. Echo it so the user can correct a wrong guess. |