fix:调整自动化MCP Tools模板

This commit is contained in:
pixelmaxQM
2025-05-18 11:45:36 +08:00
parent b731b9df78
commit 4a53864738
+1 -1
View File
@@ -17,7 +17,7 @@ func (t *{{.Name | title}}) Handle(ctx context.Context, request mcp.CallToolRequ
// TODO: 实现工具逻辑
// 参数示例:
// {{- range .Params}}
// {{.Name}} := request.Params["{{.Name}}"]
// {{.Name}} := request.Params.Arguments["{{.Name}}"]
// {{- end}}
return &mcp.CallToolResult{
Content: []mcp.Content{