Send a test message to an alert target
test_alertQueues a signed test message (event "test") to one delivery target, or to every target of one of your key's own rules, and waits a few seconds for the result: status sent, retry or dead with the HTTP status or error. A target can be tested a few times every 10 minutes. Needs an API key.
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": "test_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | No | Or: test every target of this rule. | |
| targetId | No | The delivery target to test (from `list_alerts` or the `webhook` block of `create_alert`). |