From 572239452c33e1d317d471442c43c8dacec892a7 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 6 Feb 2026 14:48:28 -0800 Subject: [PATCH] feat(chatui.tsx): support guardrails on mcp tool calls on playground --- .../src/components/playground/chat_ui/ChatUI.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/litellm-dashboard/src/components/playground/chat_ui/ChatUI.tsx b/ui/litellm-dashboard/src/components/playground/chat_ui/ChatUI.tsx index 14e830d28af..92898c26bf2 100644 --- a/ui/litellm-dashboard/src/components/playground/chat_ui/ChatUI.tsx +++ b/ui/litellm-dashboard/src/components/playground/chat_ui/ChatUI.tsx @@ -1129,6 +1129,7 @@ const ChatUI: React.FC = ({ mcpServerId, selectedMCPDirectTool, mcpToolArguments, + selectedGuardrails.length > 0 ? { guardrails: selectedGuardrails } : undefined, ); const resultText = result?.content?.length > 0