validate-monitor
Validate a Datadog monitor definition by checking query syntax, thresholds, and options before creation. Ensure correct monitor configuration without creating it.
Instructions
Validate a monitor definition without creating it (check query syntax, thresholds, etc.)
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": {
"name": "<name>",
"type": "<type>",
"query": "<query>"
},
"name": "validate-monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Monitor name to validate | |
| type | Yes | Monitor type (e.g. metric alert, log alert, query alert) | |
| query | Yes | Monitor query to validate | |
| message | No | Notification message | |
| tags | No | Tags for the monitor | |
| priority | No | Priority 1-5 | |
| options | No | Monitor options (thresholds, etc.) |