Create Notification Contact Tool
create-notification-contactCreate a notification contact (an alert destination). config holds the keys its type needs: {"email": "ops@example.com"} for email; {"webhook_url": "https://hooks.slack.com/..."} for slack or discord; {"url": "https://..."} for webhook; {"bot_token": "...", "chat_id": "-100123"} for telegram. Other keys are dropped.
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>",
"config": "<config>"
},
"name": "create-notification-contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Contact name. | |
| type | Yes | Delivery channel. | |
| config | Yes | The keys this type needs (see the tool description). | |
| notify_on_down | No | Alert when a monitor goes down (default true). | |
| notify_on_recovery | No | Alert when a monitor recovers (default true). |