From 742b9498e45d6eafc1aa03c61cc1a39160ca1f0d Mon Sep 17 00:00:00 2001 From: EricaLiu <30773688+Erica177@users.noreply.github.com> Date: Mon, 6 Oct 2025 15:10:08 +0800 Subject: [PATCH] fix ToolSecurity field (#2952) --- registry/mcp_model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/mcp_model.go b/registry/mcp_model.go index f6bab0768..9a491149b 100644 --- a/registry/mcp_model.go +++ b/registry/mcp_model.go @@ -63,7 +63,7 @@ type McpTool struct { } type ToolSecurity struct { - Id string `json:"type,omitempty"` + Id string `json:"id,omitempty"` PassThrough bool `json:"passthrough,omitempty"` Credential string `json:"credential"` }