Copy week
copy_weekUse this when the user wants to start a week from another week's schedule, usually last week into next week. Copies into an empty week only; people no longer on the team become open shifts.
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": {
"from_week_start": "<from_week_start>",
"to_week_start": "<to_week_start>"
},
"name": "copy_week"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workplace_id | No | Workplace id. Omit to use the first workplace. | |
| to_week_start | Yes | The week to copy into: "next" or "this", or any date in it as YYYY-MM-DD. | |
| from_week_start | Yes | The week to copy from: "this" or "last", or any date in it as YYYY-MM-DD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | ||
| week | Yes | ||
| labor | Yes | ||
| links | Yes | ||
| staff | Yes | ||
| checks | Yes | ||
| notice | Yes | ||
| shifts | Yes | ||
| totals | Yes | ||
| account | Yes | ||
| coverage | Yes | ||
| requests | No | Time-off requests from staff waiting for an answer | |
| workplace | Yes | ||
| schemaVersion | Yes |