Skip to content

Commit 3f21d7f

Browse files
author
piexlMax(奇淼
committed
docs(mcp): 更新字段类型的支持说明文档
1 parent 1fce169 commit 3f21d7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/mcp/gva_auto_generate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (t *AutomationModuleAnalyzer) New() mcp.Tool {
171171
"fields": [{
172172
"fieldName": "字段名(string)",
173173
"fieldDesc": "字段描述(string)",
174-
"fieldType": "字段类型:string/int/bool/time.Time等(string)",
174+
"fieldType": "字段类型支持:string(字符串),richtext(富文本),int(整型),bool(布尔值),float64(浮点型),time.Time(时间),enum(枚举),picture(单图片,字符串),pictures(多图片,json字符串),video(视频,字符串),file(文件,json字符串),json(JSON),array(数组)",
175175
"fieldJson": "JSON标签(string)",
176176
"dataTypeLong": "数据长度(string)",
177177
"comment": "注释(string)",
@@ -803,7 +803,7 @@ func (t *AutomationModuleAnalyzer) handleAnalyze(ctx context.Context, request mc
803803
"fields": [{
804804
"fieldName": "字段名(必须大写开头)",
805805
"fieldDesc": "字段描述",
806-
"fieldType": "GO 语言的数据类型",
806+
"fieldType": "字段类型支持:string(字符串),richtext(富文本),int(整型),bool(布尔值),float64(浮点型),time.Time(时间),enum(枚举),picture(单图片,字符串),pictures(多图片,json字符串),video(视频,字符串),file(文件,json字符串),json(JSON),array(数组)",
807807
"fieldJson": "json标签",
808808
"dataTypeLong": "长度",
809809
"comment": "注释",

0 commit comments

Comments
 (0)