MCPcopy Create free account
hub / github.com/Noumena-Network/code / listTools

Function listTools

src/tools/REPLTool/javascriptReplFactory.tsx:268–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 }
267
268 const listTools = () =>
269 [...replContext.registeredTools.values()].map(tool => ({
270 name: tool.name,
271 description: tool.description,
272 schema: tool.schema,
273 }))
274
275 globals.console = replContext.console
276 globals.callTool = callTool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected