GroupClassPupilsAdd
Add pupils to a group class, activating them and counting toward the school's tariff limit on activated students. Exceeding the limit blocks the addition.
Instructions
Add pupils to a group class. Adding a pupil to a group class activates the pupil and consumes the school's tariff limit of activated students. The limit depends on the school's tariff plan. Exceeding it returns HTTP 400 "The number of activated students has been exceeded".
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": {
"classId": "<classId>"
},
"name": "GroupClassPupilsAdd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| classId | Yes | integer (required) | |
| bodyPupilIds | No | Список идентификаторов добавляемых учеников |