Copy the previous week
Copy every shift of the previous week into the week you name, as drafts, or only one employee's shifts.
MCP tool connecteam_write → copy_previous_week
Runs copy previous week of the Job Scheduler for the week that starts on week_start. Copied shifts are drafts: employees do not see them until publish_shifts runs. Pass user_id to copy one employee's shifts only. Connecteam does not say how existing shifts in the target week are treated, so read the week with list_shifts first. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| scheduler_id integer required | integer | Schedule ID from list_schedulers. |
| week_start date required | date | First day of the week to fill, YYYY-MM-DD. |
| user_id integer | integer | Copy only this employee's shifts. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "connecteam_write",
"arguments": {
"operation": "copy_previous_week",
"arguments": {
"scheduler_id": 1177,
"week_start": "2026-10-19"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"scheduler_id": 1177,
"week_start": "2026-10-19",
"copied": 14,
"published": false
},
"isError": false
}