Skip to content

Commit b121af5

Browse files
authored
Enrich tooling with constraints
1 parent 01aefd3 commit b121af5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/github/code_scanning.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ func ListCodeScanningAlerts(getClient GetClientFn, t translations.TranslationHel
9191
),
9292
mcp.WithString("severity",
9393
mcp.Description("Only code scanning alerts with this severity will be returned. Possible values are: critical, high, medium, low, warning, note, error."),
94+
mcp.Enum("critical", "high", "medium", "low", "warning", "note", "error"),
9495
),
9596
),
9697
func(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) {

0 commit comments

Comments
 (0)