Change a weekly class
update_weekly_classMoves a weekly class to another day or time, or changes its type, instructor, spots, duration or off-peak mark. Only the fields you send change. Dates that already have bookings stay at the old time. 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>",
"weekly_class_id": "<weekly_class_id>"
},
"name": "update_weekly_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | 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 | No | 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 | No | ||
| instructor_id | No | Optional. Id of an instructor. | |
| weekly_class_id | Yes | Id of the weekly class on the timetable. | |
| duration_minutes | No | Optional, default 60 (15-240). |