add_staff
Add a teacher or staff member to a school and assign them to classes right away, even before they register, by creating the class assignment directly.
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
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>",
"first_name": "<first_name>",
"last_name": "<last_name>"
},
"name": "add_staff"
}
}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 |