update: 更新MCP为0.29.0,并且调节对应的方法。

This commit is contained in:
piexlMax(奇淼
2025-05-22 16:10:47 +08:00
parent e7680c43ac
commit 0ebb3d4195
5 changed files with 5 additions and 4 deletions

View File

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