validate_monitor
Validate a monitor query's syntax to confirm it is well-formed before creating an alert monitor, without persisting any changes.
Instructions
Validate a monitor query's syntax without creating anything.
Use this when: want to check a monitor definition is well-formed before calling create_alert_monitor, especially for hand-built queries. This never creates, modifies, or persists a monitor - it is a pure syntax/semantics check.
Note: validating a "log alert" monitor may additionally require the app key to have log data read access without further scoping; if that's missing you will see a permission error here specifically for log-type queries even though other monitor types validate fine.
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": {
"monitor_type": "<monitor_type>",
"query": "<query>"
},
"name": "validate_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The monitor query to validate | |
| message | No | Optional notification message (only affects validation of @-mentions) | |
| monitor_type | Yes | Same values as create_alert_monitor's monitor_type |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||