nws_public_witnessing_preview_shift_change
Preview public witnessing shift changes—add, edit, duplicate, copy, or remove location shifts before confirming. Removing a shift also deletes its reservations.
Instructions
Preview adding, editing, duplicating, copying, or removing location shifts.
operation is create, update, duplicate, delete, delete_all, or copy_from_location. values may set DayOfWeek (0 Sunday to 6 Saturday), StartTime and EndTime (HH:MM, or null), MaxPersons, and KeyPersons (0-7). Removing a shift also deletes all of its reservations.
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": {
"operation": "<operation>",
"location_id": "<location_id>"
},
"name": "nws_public_witnessing_preview_shift_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | ||
| shift_id | No | ||
| operation | Yes | ||
| location_id | Yes | ||
| source_location_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||