Update staff
update_staffUse this when the user changes something about one person: name, roles, email, hour limit, pay rate, availability (only the days given change), dates off, or removing them from the team (active false; their past shifts stay). Identify the person by name or staff id. A date off recorded here keeps every later fill from scheduling the person that day; shifts already on that date stay until they are removed.
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": {
"person": "<person>"
},
"name": "update_staff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| No | |||
| roles | No | Replaces their roles. | |
| active | No | false removes them from the team, true brings them back. | |
| person | Yes | Name or staff id. | |
| hourly_rate | No | Pay per hour for labor cost; null removes it. Never shown to staff. | |
| add_time_off | No | ||
| availability | No | Per day: "any", "off" or windows like ["07:00-15:00"]. Keys mon to sun, or weekdays / weekends. Days left out mean any time. | |
| workplace_id | No | Workplace id. Omit to use the first workplace. | |
| remove_time_off | No | ||
| new_personal_link | No | Replace this person's own link, if it was lost or shared; the old one stops working. Team and week links seen on it stay valid until reset_team_link. | |
| max_hours_per_week | No | null removes the limit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person | Yes |