fix:调整自动化MCP Tools模板
This commit is contained in:
@@ -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{
|
||||||
|
Reference in New Issue
Block a user