From 3f21d7f8dd9a8df37c7a2ab151032767bed50ad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?piexlMax=28=E5=A5=87=E6=B7=BC?= Date: Tue, 5 Aug 2025 18:53:35 +0800 Subject: [PATCH] =?UTF-8?q?docs(mcp):=20=E6=9B=B4=E6=96=B0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=B1=BB=E5=9E=8B=E7=9A=84=E6=94=AF=E6=8C=81=E8=AF=B4?= =?UTF-8?q?=E6=98=8E=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/mcp/gva_auto_generate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/mcp/gva_auto_generate.go b/server/mcp/gva_auto_generate.go index c8b4c0f5..527298dd 100644 --- a/server/mcp/gva_auto_generate.go +++ b/server/mcp/gva_auto_generate.go @@ -171,7 +171,7 @@ func (t *AutomationModuleAnalyzer) New() mcp.Tool { "fields": [{ "fieldName": "字段名(string)", "fieldDesc": "字段描述(string)", - "fieldType": "字段类型:string/int/bool/time.Time等(string)", + "fieldType": "字段类型支持:string(字符串),richtext(富文本),int(整型),bool(布尔值),float64(浮点型),time.Time(时间),enum(枚举),picture(单图片,字符串),pictures(多图片,json字符串),video(视频,字符串),file(文件,json字符串),json(JSON),array(数组)", "fieldJson": "JSON标签(string)", "dataTypeLong": "数据长度(string)", "comment": "注释(string)", @@ -803,7 +803,7 @@ func (t *AutomationModuleAnalyzer) handleAnalyze(ctx context.Context, request mc "fields": [{ "fieldName": "字段名(必须大写开头)", "fieldDesc": "字段描述", - "fieldType": "GO 语言的数据类型", + "fieldType": "字段类型支持:string(字符串),richtext(富文本),int(整型),bool(布尔值),float64(浮点型),time.Time(时间),enum(枚举),picture(单图片,字符串),pictures(多图片,json字符串),video(视频,字符串),file(文件,json字符串),json(JSON),array(数组)", "fieldJson": "json标签", "dataTypeLong": "长度", "comment": "注释",