update_nrql_condition
Update an existing NRQL alert condition by modifying its query, threshold, operator, priority, or other settings.
Instructions
Update an existing NRQL alert condition
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"condition_id": "<condition_id>"
},
"name": "update_nrql_condition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition_id | Yes | ID of the condition to update | |
| name | No | New name (optional) | |
| description | No | New description (optional) | |
| nrql_query | No | New NRQL query (optional) | |
| enabled | No | Enable or disable the condition (optional) | |
| threshold | No | New threshold value (optional) | |
| threshold_operator | No | New threshold operator (optional) | |
| threshold_duration | No | New threshold duration in seconds (optional) | |
| priority | No | New alert priority (optional) — NerdGraph accepts only CRITICAL or WARNING | |
| aggregation_window | No | New aggregation window in seconds (30-1200, optional) |