Get workplace
get_workplaceUse this when you need the current team and rules before scheduling: workplaces, staff (roles, availability, hour limits, time off), the shifts each day needs, and the plan limits. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_workplace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workplace_id | No | Workplace id. Omit to use the first workplace. | |
| include_staff_links | No | Also list each person's own link (their schedule, a calendar that updates itself, and time-off requests), for the manager to send to each person privately. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| staff | No | ||
| current | Yes | ||
| requests | No | Time-off requests from staff waiting for an answer | |
| signedIn | No | ||
| teamLink | No | The link that always opens the newest published week | |
| staffLinks | No | Each person's own link, present when asked for; send each only to that person | |
| workplaces | Yes | ||
| shiftsNeeded | No |