Home / Servers / Square API / publish_scheduled_shift

PublishScheduledShift

An MCP tool from the Square API server, hosted on mcp.hjlabs.in.

PublishScheduledShift Publishes a scheduled shift. When a scheduled shift is published, Square keeps the draft_shift_details field as is and copies it to the published_shift_details field. [POST /v2/labor/scheduled-shifts/{id}/publish]

Name on the gateway: square_api__publish_scheduled_shift · may change things.

Parameters

NameTypeDescription
id requiredstringThe ID of the scheduled shift to publish.
idempotency_key requiredstringA unique identifier for the PublishScheduledShift request, used to ensure the…
versionintegerThe current version of the scheduled shift, used to enable optimistic…
scheduled_shift_notification_audienceALL | AFFECTED | NONEIndicates whether Square should send an email notification to team members and…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "square_api__publish_scheduled_shift",
  "arguments": {
    "id": "…",
    "idempotency_key": "…"
  }
}

Or connect the Square API server directly, which lists 308 tools including this one:

Run in your terminal
claude mcp add --transport http hj-square-api https://mcp.hjlabs.in/mcp/square-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the publishscheduledshift tool with id set to ….

More from Square API