docs: 更新文档中字段类型描述并优化工具说明

更新多个文档和工具描述文件,统一字段类型的详细说明格式
优化菜单创建工具和API创建工具的描述,明确使用场景
补充执行计划schema中字段类型的详细说明

(cherry picked from commit d9448aa25cca717e01a00aec2c38a24da7b28f6f)
This commit is contained in:
piexlMax(奇淼
2025-08-05 18:33:02 +08:00
parent b71ad7b6f4
commit 0d900293eb
5 changed files with 19 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ type ApiCreator struct{}
// New 创建API创建工具
func (a *ApiCreator) New() mcp.Tool {
return mcp.NewTool("create_api",
mcp.WithDescription("创建后端API记录用于在生成后端接口时自动创建对应的API权限记录,只要创建API层,router下的文件产生路径变化都需要调用此mcp。"),
mcp.WithDescription("创建后端API记录用于AI编辑器自动添加API接口时自动创建对应的API权限记录。注意使用gva_auto_generate创建的包和模块会自动创建API权限无需调用此工具。仅在AI编辑器自动添加API或router下的文件产生路径变化时使用。"),
mcp.WithString("path",
mcp.Required(),
mcp.Description("API路径/user/create"),