From 2b23e405e24b1c1d48141ebf947d41de300010f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20S=C3=A1nchez?= Date: Tue, 11 Aug 2026 08:59:55 -0600 Subject: [PATCH] fix[backend](mcp): added os index patter syntax on opensearch search tool --- backend/modules/mcp/tools_opensearch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/modules/mcp/tools_opensearch.go b/backend/modules/mcp/tools_opensearch.go index e0fe8a393..ef049e371 100644 --- a/backend/modules/mcp/tools_opensearch.go +++ b/backend/modules/mcp/tools_opensearch.go @@ -19,7 +19,7 @@ func registerOpenSearch(m *Module) { // ---- opensearch search / index gateway ------------------------------------- type osSearchInput struct { - IndexPattern string `json:"index_pattern" jsonschema:"Required. Resolved index pattern (e.g. alert-*, log-*)."` + IndexPattern string `json:"index_pattern" jsonschema:"Required. Resolved index pattern with syntax v11-[name]-* (e.g. v11-alert-*, v11-log-*)."` Filters []common_models.FilterType `json:"filters,omitempty" jsonschema:"FilterType DSL conditions"` Top int `json:"top,omitempty" jsonschema:"Max total hits to return (default 500)"` Page int `json:"page,omitempty" jsonschema:"1-based page"`