remove_class_students
Remove specified students from a class while preserving their other class memberships. Supply school ID, section ID, and student IDs.
Instructions
Remove specific students from a class. Requires PS_ENABLE_WRITES.
SAFETY: Never call this tool or another class-staff/student-enrollment write in parallel. The server serializes the complete school-map read and all resulting student writes within this process.
Each student's other classes are read first and preserved — only this class is dropped. student_ids is required: this tool will not empty a class.
Args: school_id: School ID the class belongs to section_id: Class/section ID (from list_classes) student_ids: The students to remove (from list_class_students)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| school_id | Yes | ||
| section_id | Yes | ||
| student_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |