add_class
Create a new school class by providing school ID, name, and grade IDs. The class stays hidden from staff, parents, and students until you set its visibility.
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 |