# PATCH /agent-ops/alert-rules/:rule_id

**Resource:** [Agent Ops](./agent-ops.md)  
**MCP tool:** `update_agent_alert_rule`  
**Scopes:** `agent-ops:write`  
**Write operation:** yes

Update an agent alert rule.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `rule_id` | path | string | yes |  |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/agent-ops/alert-rules/:rule_id"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`