List shifts
List scheduled shifts for a date range.
MCP tool shiftbase_read → list_shifts
read
Returns each shift with its date, start, end, team and employee, in date order. Open shifts have no employee. It reads the schedule as the account sees it.
Parameters
| Name | Type | Description |
|---|---|---|
| from string required | string | First day, YYYY-MM-DD. |
| to string required | string | Last day, YYYY-MM-DD. |
| department_id string | string | Only this department. |
| employee_id string | string | Only this employee. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "shiftbase_read",
"arguments": {
"operation": "list_shifts",
"arguments": {
"from": "from",
"to": "to"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"shifts": [
{
"id": "90421",
"date": "2026-10-25",
"start": "16:00",
"end": "23:00",
"team": "Floor",
"employee": "Lena Ortiz"
},
{
"id": "90433",
"date": "2026-10-25",
"start": "10:00",
"end": "18:00",
"team": "Kitchen",
"employee": "Sam Okafor"
}
]
},
"isError": false
}