ScheduleCreateLesson
Create a new lesson in the Edvibe schedule for a group or individual pupil, set date, duration, teacher, and weekly repeats. Handles optional pupil activation.
Instructions
Create a new lesson in the schedule. The groupId field accepts the id of any class (group or individual). Creating a lesson may activate the pupil as a side effect (response includes isActivatedPupil).
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": {
"bodyDate": "<bodyDate>",
"bodyDurationMinutes": "<bodyDurationMinutes>",
"bodyGroupId": "<bodyGroupId>"
},
"name": "ScheduleCreateLesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bodyDate | Yes | Дата и время проведения занятия | |
| bodyGroupId | Yes | Идентификатор группы | |
| bodyPupilId | No | Идентификатор ученика. Обязателен при добавлении урока в индивидуальный класс | |
| bodyTeacherId | No | Идентификатор учителя | |
| bodyRepeatWeekly | No | Повторять урок каждую неделю? | |
| bodyDurationMinutes | Yes | Длительность урока | |
| bodyLessonDurationId | No | Идентификатор длительности занятия. |