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)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"school_id": "<school_id>",
"user_id": "<user_id>"
},
"name": "edit_parent"
}
}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 |