edit_parent
Update a parent's contact details (name, email, phone) while preserving student links. Requires school and user IDs.
Instructions
Update a guardian's name, email, or phone. Requires PS_ENABLE_WRITES.
Only provided fields change; existing student links are preserved. Get the user_id from list_parents(school_id).
Args: school_id: School ID user_id: Guardian's user ID (from list_parents) first_name: New first name (optional) last_name: New last name (optional) email: New email (optional) phone: New phone (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| phone | No | ||
| user_id | Yes | ||
| last_name | No | ||
| school_id | Yes | ||
| first_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |