create_shift
Assign a shift to a user in a team with start and end times. Optionally include a scheduling group.
Instructions
Create a shift for a user
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": {
"team_id": "<team_id>",
"user_id": "<user_id>",
"start_date_time": "<start_date_time>",
"end_date_time": "<end_date_time>"
},
"name": "create_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | The ID of the team | |
| user_id | Yes | The user's object ID | |
| end_date_time | Yes | Shift end time (ISO 8601) | |
| start_date_time | Yes | Shift start time (ISO 8601) | |
| scheduling_group_id | No | Optional scheduling group ID |