MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getAllTools

Function getAllTools

packages/server/src/controllers/tools/index.ts:54–62  ·  view source on GitHub ↗
(req: Request, res: Response, next: NextFunction)

Source from the content-addressed store, hash-verified

52}
53
54const getAllTools = async (req: Request, res: Response, next: NextFunction) => {
55 try {
56 const { page, limit } = getPageAndLimitParams(req)
57 const apiResponse = await toolsService.getAllTools(req.user?.activeWorkspaceId, page, limit)
58 return res.json(apiResponse)
59 } catch (error) {
60 next(error)
61 }
62}
63
64const getToolById = async (req: Request, res: Response, next: NextFunction) => {
65 try {

Callers

nothing calls this directly

Calls 1

getPageAndLimitParamsFunction · 0.90

Tested by

no test coverage detected