create_shift
Create a new shift for a user by providing start and end times, position, and location details.
Instructions
Create a new shift for a user. Shifts represent scheduled work periods.
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": {
"userId": "<userId>",
"startTime": "<startTime>",
"endTime": "<endTime>"
},
"name": "create_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | User identifier who will work this shift | |
| startTime | Yes | Shift start time (ISO 8601 format) | |
| endTime | Yes | Shift end time (ISO 8601 format) | |
| position | No | Position/role for this shift | |
| location | No | Location where the shift takes place | |
| data | No | Additional shift data as JSON object |