edit_staff
Change a staff member's name, email, phone, title, or staff ID while preserving their class assignments and access level.
Instructions
Update a staff member's name, email, phone, title, or staff ID. Requires PS_ENABLE_WRITES.
Only provided fields change; everything else — including their class assignments and STAFF/ADMIN access level — is left untouched. Get the user_id from list_staff(school_id). To change which classes they teach, use add_class_staff / remove_class_staff instead. Guardians are rejected: use edit_parent for those.
Args: school_id: School ID user_id: Staff member's user ID (from list_staff) first_name: New first name (optional) last_name: New last name (optional) email: New email (optional) phone: New phone (optional) title: New title shown at the school, e.g. "3rd Grade Teacher" (optional) staff_id: The school's own staff/external ID (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| phone | No | ||
| title | No | ||
| user_id | Yes | ||
| staff_id | No | ||
| last_name | No | ||
| school_id | Yes | ||
| first_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |