Change many classes at once
edit_classesChange up to 1,000 classes in one go, all or nothing: their months, class size, trial rules, room, add or remove a teacher, or delete them ({ delete: true }). Never levels, subjects, day or time. Send dry_run: true first. An applied change returns an undo id that works for 10 minutes (undo_bulk_edit).
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": {
"class_ids": "<class_ids>",
"change": "<change>"
},
"name": "edit_classes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change | Yes | One or more of: first_month, last_month (YYYY-MM), capacity, takes_trials, trial_cap_per_lesson, trial_notice_days, room, add_teacher_ids, remove_teacher_ids; or { delete: true } alone. | |
| dry_run | No | true: check everything and save nothing, returning each item's result. Always do this first. | |
| class_ids | Yes |