From ffbf67765d2ae447d62333eed85100a15685d781 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 19 三月 2026 12:27:59 +0800
Subject: [PATCH] #AI.内置工具治理

---
 rsf-admin/src/page/system/aiMcpMount/AiMcpMountToolsPanel.jsx |   29 ++++++++++++++++++++++++++++-
 1 files changed, 28 insertions(+), 1 deletions(-)

diff --git a/rsf-admin/src/page/system/aiMcpMount/AiMcpMountToolsPanel.jsx b/rsf-admin/src/page/system/aiMcpMount/AiMcpMountToolsPanel.jsx
index 2a333e9..96edb0a 100644
--- a/rsf-admin/src/page/system/aiMcpMount/AiMcpMountToolsPanel.jsx
+++ b/rsf-admin/src/page/system/aiMcpMount/AiMcpMountToolsPanel.jsx
@@ -305,8 +305,18 @@
                                                     <Typography variant="body2" color="text.secondary">
                                                         {tool.description || "鏆傛棤鎻忚堪"}
                                                     </Typography>
+                                                    {!!tool.toolPurpose && (
+                                                        <Typography variant="caption" color="text.secondary" display="block" mt={0.5}>
+                                                            鐢ㄩ��: {tool.toolPurpose}
+                                                        </Typography>
+                                                    )}
                                                 </Box>
                                                 <Stack direction="row" spacing={1} alignItems="center" flexWrap="wrap" useFlexGap>
+                                                    {!!tool.toolGroup && (
+                                                        <Typography variant="caption" color="text.secondary">
+                                                            {tool.toolGroup}
+                                                        </Typography>
+                                                    )}
                                                     <Typography variant="caption" color="text.secondary">
                                                         {schemaInfo.fields.length} 涓弬鏁�
                                                     </Typography>
@@ -317,8 +327,25 @@
                                             </Stack>
                                         </AccordionSummary>
                                         <AccordionDetails>
-                                            <Card variant="outlined" sx={{ borderRadius: 3 }}>
+                                                <Card variant="outlined" sx={{ borderRadius: 3 }}>
                                                 <CardContent>
+                                                    {!!tool.queryBoundary && (
+                                                        <Alert severity="info" sx={{ mb: 2 }}>
+                                                            鏌ヨ杈圭晫: {tool.queryBoundary}
+                                                        </Alert>
+                                                    )}
+                                                    {!!tool.exampleQuestions?.length && (
+                                                        <Alert severity="success" sx={{ mb: 2 }}>
+                                                            <Typography variant="body2" fontWeight={700} mb={0.5}>
+                                                                绀轰緥鎻愰棶
+                                                            </Typography>
+                                                            {tool.exampleQuestions.map((question) => (
+                                                                <Typography key={question} variant="body2">
+                                                                    {`- ${question}`}
+                                                                </Typography>
+                                                            ))}
+                                                        </Alert>
+                                                    )}
                                                     {!!schemaInfo.error && (
                                                         <Alert severity="warning" sx={{ mb: 2 }}>
                                                             {schemaInfo.error}

--
Gitblit v1.9.1