docs(mcp): 更新字段类型的支持说明文档

This commit is contained in:
piexlMax(奇淼
2025-08-05 18:53:35 +08:00
parent 1fce169616
commit 3f21d7f8dd

View File

@@ -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字符串,jsonJSON,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字符串,jsonJSON,array数组",
"fieldJson": "json标签",
"dataTypeLong": "长度",
"comment": "注释",