Create Override Shift
create_override_shiftCreates an override shift for a schedule and replaces any overlapping overrides in the specified time range. Use it to assign a user to cover a schedule window.
Instructions
Creates a new override shift from provided data. If any existing override shifts overlap with the specified time range, they will be automatically deleted and replaced by the new override. This endpoint is idempotent: re-sending an identical override (same user and same start/end time) returns the existing override with a 200 status and does not recreate it.
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": {
"schedule_id": "<schedule_id>",
"data": "<data>"
},
"name": "create_override_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| schedule_id | Yes | Required. ID of the schedule (fills `{schedule_id}` in /v1/schedules/{schedule_id}/override_shifts). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||