Add a rostered shift
add_roster_shiftAdds a shift to a roster week for someone (ids from get_roster and list_people). It is saved as an unpublished change: nobody is told until a manager publishes the week in the Timeclock.Kiwi portal. A shift ending at or before its start ends the next day.
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": {
"roster_id": "<roster_id>",
"person_id": "<person_id>",
"date": "<date>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "add_roster_shift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| note | No | ||
| end_time | Yes | HH:mm, 24 hour | |
| person_id | Yes | ||
| roster_id | Yes | Which roster (from get_roster's rosters) | |
| start_time | Yes | HH:mm, 24 hour |