Publish shifts

Publish the draft shifts of a schedule so employees see them. All drafts, or only the shift ids you pass.

MCP tool connecteam_write → publish_shifts

write Confirm

Publishes drafts, which makes them visible to the assigned users. Without shift_ids it publishes every draft of the schedule, like the Publish button at the top right; with shift_ids it publishes only those, which is a bulk action of the Advanced plan in the Operations hub. A shift needs a title or a job, and assigned users or claiming turned on, to be published. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: publish_shifts
NameTypeDescription
scheduler_id integer required integer Schedule ID from list_schedulers.
shift_ids array array Shift IDs from list_shifts. Default: all drafts of the schedule.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "connecteam_write",
    "arguments": {
      "operation": "publish_shifts",
      "arguments": {
        "scheduler_id": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "scheduler_id": 1177,
    "published": 14
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.