From 79ebf8cbfbbb49e819a9da922f1d19ba09a004a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20S=C3=A1nchez?= Date: Wed, 29 Jul 2026 13:25:46 -0600 Subject: [PATCH] fix[backend](mcp): added jsonschemas to eventprocessing tools --- backend/modules/mcp/tools_eventprocessing.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/modules/mcp/tools_eventprocessing.go b/backend/modules/mcp/tools_eventprocessing.go index a33eccd51..38c33c076 100644 --- a/backend/modules/mcp/tools_eventprocessing.go +++ b/backend/modules/mcp/tools_eventprocessing.go @@ -212,11 +212,11 @@ type epRuleCreateInput struct { Technique string `json:"technique,omitempty"` Description string `json:"description,omitempty"` - References any `json:"references,omitempty"` - Definition any `json:"definition"` - GroupBy any `json:"groupBy,omitempty"` - DeduplicateBy any `json:"deduplicateBy,omitempty"` - Correlation any `json:"correlation,omitempty"` + References any `json:"references,omitempty" jsonschema:"Rule references (any JSON)"` + Definition any `json:"definition" jsonschema:"Rule definition DSL (any JSON)"` + GroupBy any `json:"groupBy,omitempty" jsonschema:"Group-by DSL (any JSON)"` + DeduplicateBy any `json:"deduplicateBy,omitempty" jsonschema:"Deduplicate-by DSL (any JSON)"` + Correlation any `json:"correlation,omitempty" jsonschema:"Correlation DSL (any JSON)"` RuleActive bool `json:"ruleActive"` DataTypes []dto.DataTypeRef `json:"dataTypes,omitempty"`