create_alert_channel
Create an alert channel. Pass EXACTLY one of email_address / webhook_url / pagerduty_routing_key matching the channel_type:
- channel_type='email' → email_address='ops@example.com'
- channel_type='webhook' → webhook_url='https://your-endpoint'
- channel_type='slack' → webhook_url='https://hooks.slack.com/...'
- channel_type='pagerduty' → pagerduty_routing_key='<Events v2 key>'
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": {
"channel_type": "<channel_type>"
},
"name": "create_alert_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_url | No | ||
| channel_type | Yes | ||
| min_severity | No | medium | |
| email_address | No | ||
| pagerduty_routing_key | No |