16 lines
325 B
Go
16 lines
325 B
Go
package tool
|
|
|
|
import (
|
|
toolDto "ai-agent/workflow/model/dto/tool"
|
|
toolService "ai-agent/workflow/service/tool"
|
|
"context"
|
|
)
|
|
|
|
type tool struct{}
|
|
|
|
var Tool = new(tool)
|
|
|
|
func (c *tool) List(ctx context.Context, req *toolDto.ToolListReq) (res *toolDto.ToolListRes, err error) {
|
|
return toolService.ToolService.List(ctx, req)
|
|
}
|