add_class
Create a new class or section for a school by specifying school ID, name, and grade IDs. The class starts hidden until you set its visibility and assign teachers.
Instructions
Create a new class (section) at a school. Requires PS_ENABLE_WRITES.
New classes are created hidden — they are not visible to staff, parents, or students until you call set_class_visibility. Assign teachers afterwards with add_class_staff.
Args: school_id: School ID name: Class name (e.g. "Ms. Smith's Class") grade_ids: One or more grade IDs the class belongs to (from list_grades)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| grade_ids | Yes | ||
| school_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |