We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca0a125 commit 057ad2eCopy full SHA for 057ad2e
server/mcp/api_lister.go
@@ -52,6 +52,9 @@ func (a *ApiLister) New() mcp.Tool {
52
**返回数据结构:**
53
- databaseApis: 数据库中的API记录(包含ID、描述、分组等完整信息)
54
- ginApis: gin路由中的API(仅包含路径和方法),需要AI根据路径自行揣摩路径的业务含义,例如:/api/user/:id 表示根据用户ID获取用户信息`),
55
+ mcp.WithString("_placeholder",
56
+ mcp.Description("占位符,防止json schema校验失败"),
57
+ ),
58
)
59
}
60
server/mcp/menu_lister.go
@@ -46,6 +46,9 @@ func (m *MenuLister) New() mcp.Tool {
46
- 菜单权限管理:了解系统中所有可用的菜单项
47
- 导航组件开发:构建动态导航菜单
48
- 系统架构分析:了解系统的菜单结构和页面组织`),
49
+mcp.WithString("_placeholder",
50
51
0 commit comments