LessonPackagesWriteOffLessons
Write off lessons from a student's package to decrement the lesson balance. Specify pupil, class, lesson count, and comment; requires client-side approval before the destructive update.
Instructions
Write off lessons from a package.
WARNING: Destructive: decrements lesson balance. Requires client-side approval.
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": {
"packageDurationId": "<packageDurationId>",
"bodyClassId": "<bodyClassId>",
"bodyComment": "<bodyComment>",
"bodyCount": "<bodyCount>",
"bodyPupilId": "<bodyPupilId>"
},
"name": "LessonPackagesWriteOffLessons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bodyCount | Yes | Количество списываемых лекций | |
| bodyClassId | Yes | Идентификатор группы | |
| bodyComment | Yes | Комментарий | |
| bodyPupilId | Yes | Идентификатор ученика | |
| packageDurationId | Yes | integer (required) |