set_staff_availability
Add an availability window for a staff member (companyMembers.id). Use day-of-week + recurring for weekly schedules, or a specific date for one-off changes.
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": {
"memberId": "<memberId>",
"startTime": "<startTime>",
"endTime": "<endTime>"
},
"name": "set_staff_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD for a specific date instead of dayOfWeek | |
| type | No | Default available | |
| endTime | Yes | HH:MM (24h) | |
| memberId | Yes | companyMembers.id of the staff | |
| dayOfWeek | No | Day of week (0=Sun..6=Sat) | |
| startTime | Yes | HH:MM (24h) | |
| isRecurring | No | Default true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |