Home / Servers / PagerDuty API / update_ruleset_event_rule
Update an Event Rule
An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.
Update an Event Rule Note that the endpoint supports partial updates, so any number of the writable fields can be provided. > ### End-of-life > Rulesets and Event Rules will end-of-life soon. We highly recommend that… [PUT /rulesets/{id}/rules/{rule_id}]
Name on the gateway: pagerduty_api__update_ruleset_event_rule · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id required | string | The ID of the resource. |
rule_id required | string | The id of the Event Rule to retrieve. |
rule | object | |
body_rule_id required | string | The id of the Event Rule to update. |
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": "pagerduty_api__update_ruleset_event_rule",
"arguments": {
"id": "…",
"rule_id": "…",
"body_rule_id": "…"
}
}Or connect the PagerDuty API server directly, which lists 459 tools including this one:
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 update an event rule tool with id set to ….