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
| Name | Type | Description |
|---|---|---|
id required | string | The ID of the scheduled shift to publish. |
idempotency_key required | string | A unique identifier for the PublishScheduledShift request, used to ensure the… |
version | integer | The current version of the scheduled shift, used to enable optimistic… |
scheduled_shift_notification_audience | ALL | AFFECTED | NONE | Indicates 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:
{
"name": "square_api__publish_scheduled_shift",
"arguments": {
"id": "…",
"idempotency_key": "…"
}
}Or connect the Square API server directly, which lists 308 tools including this one:
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 ….