Add or change one staff member
save_staff_memberAdd someone to the staff list (they sign in with their email), or change one's name, ticks and branches (give their id); everyone else stays. Owner only. Making someone an owner is done by a person in the staff app, not here; the business always keeps at least one owner.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_staff_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The staff member to change; leave out to add one. | |
| name | No | Their name. | |
| No | Their work email. | ||
| is_owner | No | false takes an owner's ownership away (the business always keeps one). Making someone an owner is refused here: it is done in the staff app. | |
| can_seats | No | Can update seats and see trial children. | |
| branch_ids | No | Otherwise, the branches their ticks apply at. | |
| can_classes | No | Can add and change classes and make a branch live. | |
| all_branches | No | Their ticks apply at every branch. | |
| can_closures | No | Can add closed days and cancel lessons. |