List upcoming events
list_upcoming_eventsThe studio's scheduled events from now through the next days_ahead days (default 30), soonest first, each with its id, start time, capacity, seats booked and fill percent. Use it to see what is on the schedule or to find an event_id for get_event. To find only the classes that need seats sold, use list_underfilled_events. Returns at most 50 events per call; when has_more is true, raise offset for the next page.
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": "list_upcoming_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | maximum events to return; defaults to and is capped at 50 | |
| offset | No | how many events to skip, for paging through a long schedule | |
| days_ahead | No | how many days ahead to look; defaults to 30 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| events | Yes | ||
| has_more | Yes | true when more events matched than were returned; raise offset to see them | |
| returned | Yes | ||
| timezone | Yes | ||
| total_found | Yes | events in the window before limit and offset were applied |