Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions src/devhelm_mcp/tools/alert_channels.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Alert channel tools — Slack, email, webhook, and other notification channels."""
"""Alert channel tools — Slack, email, PagerDuty, and 17 more."""

from __future__ import annotations

Expand Down Expand Up @@ -40,8 +40,10 @@ def create_alert_channel(
"""Create a new alert channel.

Required: name, type, config (type-specific).
Types: SLACK, EMAIL, WEBHOOK, PAGERDUTY, OPSGENIE,
TELEGRAM, DISCORD, MSTEAMS.
Types: EMAIL, WEBHOOK, SLACK, PAGERDUTY, OPSGENIE, TEAMS,
DISCORD, TELEGRAM, GOOGLE_CHAT, PUSHOVER, MATTERMOST,
SPLUNK_ONCALL, PUSHBULLET, LINEAR, INCIDENT_IO, ROOTLY,
ZAPIER, DATADOG, JIRA, GITLAB.
"""
try:
return serialize(
Expand All @@ -56,7 +58,11 @@ def update_alert_channel(
body: UpdateAlertChannelRequest,
api_token: str | None = None,
) -> ToolResult:
"""Update an existing alert channel."""
"""Update an existing alert channel.

Updatable fields: name, type, config (type-specific).
See create_alert_channel for supported types.
"""
try:
return serialize(
get_client(api_token).alert_channels.update(
Expand Down
Loading