Skip to content

Commit 4cae353

Browse files
committed
feat: add additional notification options
1 parent 14a4d74 commit 4cae353

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

route_mcp.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,14 @@ func getCommonToolOpts() []mcp.ToolOption {
106106
mcp.Description("Notification level, can be 'critical', 'active', 'timeSensitive', 'passive'"),
107107
mcp.Enum("critical", "active", "timeSensitive", "passive"),
108108
),
109+
mcp.WithNumber("volume", mcp.Description("Important alert notification volume, value range: 0-10, default is 5 if not passed")),
109110
mcp.WithNumber("badge", mcp.Description("Badge number")),
111+
mcp.WithString("call", mcp.Description("Pass '1' to repeat the notification ringtone")),
110112
mcp.WithString("sound", mcp.Description("Notification sound")),
111113
mcp.WithString("icon", mcp.Description("Notification icon URL")),
114+
mcp.WithString("image", mcp.Description("Notification image URL")),
112115
mcp.WithString("group", mcp.Description("Notification group")),
116+
mcp.WithString("isArchive", mcp.Description("Pass 1 to save the notification, pass other values to not save the notification")),
113117
mcp.WithString("url", mcp.Description("Click action URL")),
114118
mcp.WithString("copy", mcp.Description("Text to copy on copy action")),
115119
}

0 commit comments

Comments
 (0)