Set up workplace
set_up_workplaceUse this when the user describes their workplace or changes its rules: name, timezone, which day weeks start, minimum rest between shifts, shifts per person per day, the shifts each day needs (shifts_needed), the pay currency and overtime thresholds. shifts_needed replaces the whole existing pattern. Set new_workplace to add a second location. It does not add or change people.
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": "set_up_workplace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| currency | No | Three-letter currency code for pay, such as USD, GBP, EUR, CAD or GYD. | |
| timezone | No | IANA timezone such as America/New_York, Europe/London or America/Guyana. | |
| workplace_id | No | Workplace id. Omit to use the first workplace. | |
| new_workplace | No | Create an additional workplace instead of changing the current one. | |
| shifts_needed | No | The full weekly coverage pattern. Replaces the existing pattern. | |
| min_rest_hours | No | Minimum hours off between two shifts for one person. Default 8. | |
| week_starts_on | No | ||
| reset_team_link | No | Make a new team link and stop the old one, for example after it was shared too widely. | |
| max_shifts_per_day | No | Most shifts one person may work in a day. Default 1. | |
| overtime_pay_multiplier | No | Overtime pay multiplier. Default 1.5. | |
| overtime_after_hours_per_day | No | Hours in a day after which time is overtime, e.g. 8. null stops tracking it. | |
| overtime_after_hours_per_week | No | Hours in a week after which time is overtime, e.g. 40. null stops tracking it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamLink | Yes | ||
| workplace | Yes | ||
| shiftsNeeded | Yes |