add_staff
Add a teacher or other staff member to a school, assign them to specific classes with a role, and trigger a registration invite.
Instructions
Add a teacher or other staff member to a school. Requires PS_ENABLE_WRITES.
ParentSquare emails the new account an address-verification/registration invite. Passing section_ids assigns them to those classes right away (as class_role, default TEACHER) — verified live, because ParentSquare's own "invited classes" field does not create the assignment until the person registers, so this tool makes the assignment itself.
Args: school_id: School ID first_name: Staff member's first name last_name: Staff member's last name email: Email address (optional but needed for them to register) phone: Phone number (optional) title: Title shown at the school, e.g. "3rd Grade Teacher" (optional) staff_id: The school's own staff/external ID (optional) is_admin: True to grant school Admin rather than Staff access section_ids: Class/section IDs to assign them to (from list_classes) class_role: Role for those classes — TEACHER (default) or ASSISTANT
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| phone | No | ||
| title | No | ||
| is_admin | No | ||
| staff_id | No | ||
| last_name | Yes | ||
| school_id | Yes | ||
| class_role | No | TEACHER | |
| first_name | Yes | ||
| section_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |