list_nrql_conditions
Retrieves NRQL alert conditions with their queries and thresholds, optionally filtered by policy or account, to inspect or reproduce alert behavior.
Instructions
List NRQL alert conditions, including their queries and thresholds.
Reading the condition's own NRQL is the fastest way to reproduce what an alert saw at the time it fired.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_nrql_conditions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| policy_id | No | Restrict to one policy. | |
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |