fix:调整自动化MCP Tools模板

This commit is contained in:
pixelmaxQM
2025-05-18 11:45:21 +08:00
parent b731b9df78
commit 4a53864738

View File

@@ -17,7 +17,7 @@ func (t *{{.Name | title}}) Handle(ctx context.Context, request mcp.CallToolRequ
// TODO: // TODO:
// : // :
// {{- range .Params}} // {{- range .Params}}
// {{.Name}} := request.Params["{{.Name}}"] // {{.Name}} := request.Params.Arguments["{{.Name}}"]
// {{- end}} // {{- end}}
return &mcp.CallToolResult{ return &mcp.CallToolResult{
Content: []mcp.Content{ Content: []mcp.Content{