Change a staff member's details
edit_staff_memberChanges one staff member (staff_id, from read staff_roster or staff_detail) as Save in their staff drawer does. Pass only what changes: employmentType (employee reads Staff, contractor reads Contractor), payRateCents with payRateUnit (hour, visit or percent; null clears), payHidden (hide their pay from payroll views), venmo / zelle (tip handles; empty clears). To rename, use add_staff_member with rename_staff_id. Ending someone's employment is done by a person on the staff page. Nothing is sent. For several people, call once per person. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
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": {
"staff_id": "<staff_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "edit_staff_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venmo | No | ||
| zelle | No | ||
| reason | No | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. | |
| staff_id | Yes | ||
| payHidden | No | ||
| payRateUnit | No | ||
| payRateCents | No | ||
| employmentType | No | ||
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |