Get roster
get_rosterRostered (scheduled) shifts between two dates, and the rosters and roster weeks they belong to. Only published shifts unless include_unpublished is true (admins and managers), which adds drafts and changes not yet published, marked "published": false.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_roster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | Last day (included), YYYY-MM-DD | |
| group_id | No | Only the people in this group and its sub-groups (an id from list_groups) | |
| person_ids | No | Only these people (ids from list_people). Leave out for everyone you can see. | |
| start_date | Yes | First day, YYYY-MM-DD, in the company's timezone | |
| include_unpublished | No | Also draft weeks and unpublished changes. Default false. |