Home / Servers / PagerDuty API / update_cache_var_on_service_orch

Update a Cache Variable for a Service Event Orchestration

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

Update a Cache Variable for a Service Event Orchestration Cache Variables allow you to store event data on an Event Orchestration, which can then be used in Event Orchestration rules as part of conditions or actions. For more information see the API… [PUT /event_orchestrations/services/{service_id}/cache_variables/{cache_variable_id}]

Name on the gateway: pagerduty_api__update_cache_var_on_service_orch · may change things.

Parameters

NameTypeDescription
service_id requiredstringThe service ID
cache_variable_id requiredstringThe ID of a Cache Variable.
cache_variable requiredobjectRecent Value

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__update_cache_var_on_service_orch",
  "arguments": {
    "service_id": "…",
    "cache_variable_id": "…",
    "cache_variable": "…"
  }
}

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 update a cache variable for a service event orchestration tool with service_id set to ….

More from PagerDuty API