Add a weekly class
add_weekly_classAdds a repeating class to the weekly timetable. Classes for the coming days appear on the calendar at once. Acts on one venue, given its address and access key.
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": {
"address": "<address>",
"access_key": "<access_key>",
"weekday": "<weekday>",
"time": "<time>",
"class_type_id": "<class_type_id>"
},
"name": "add_weekly_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Start time in the venue’s local time, HH:MM (24h). | |
| spots | No | Optional. Defaults to the class type’s spots (1-50). | |
| address | Yes | The venue’s address name, the "name" in name.bookare.app. | |
| weekday | Yes | 0 = Monday … 6 = Sunday. | |
| off_peak | No | Optional. Marks the class as off-peak. | |
| access_key | Yes | The venue’s access key. | |
| class_type_id | Yes | ||
| instructor_id | No | Optional. Id of an instructor. | |
| duration_minutes | No | Optional, default 60 (15-240). |