List employees
List employees, with their department and contract type.
MCP tool shiftbase_read → list_employees
read
Returns the employee id, name, department and contract type. Which employees appear depends on the departments your role can open.
Parameters
| Name | Type | Description |
|---|---|---|
| department_id string | string | Only employees of this department. |
| query string | string | Part of a name. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "shiftbase_read",
"arguments": {
"operation": "list_employees",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"employees": [
{
"id": "501",
"name": "Lena Ortiz",
"department": "Harbor Cafe",
"contract_type": "Part-time"
},
{
"id": "502",
"name": "Sam Okafor",
"department": "Harbor Cafe",
"contract_type": "Full-time"
}
]
},
"isError": false
}