Home / Servers / PagerDuty API / delete_custom_shift

Delete a custom shift

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

Delete a custom shift > **Important note:** Shift-based schedules use the V3 API and are not compatible with V2 automations. **To create automations for Shift-Based Schedules, you need to:** > > 1. **Update your… [DELETE /v3/schedules/{id}/custom_shifts/{custom_shift_id}]

Name on the gateway: pagerduty_api__delete_custom_shift · may change things.

Parameters

NameTypeDescription
id requiredstringThe ID of the schedule.
custom_shift_id requiredstringThe ID of the custom shift.

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": "pagerduty_api__delete_custom_shift",
  "arguments": {
    "id": "…",
    "custom_shift_id": "…"
  }
}

Or connect the PagerDuty API server directly, which lists 459 tools including this one:

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

Try asking

Use the delete a custom shift tool with id set to ….

More from PagerDuty API