MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getAllTools

Method getAllTools

packages/core/src/tools/tool-registry.ts:439–443  ·  view source on GitHub ↗

* Returns an array of all registered and discovered tool instances.

()

Source from the content-addressed store, hash-verified

437 * Returns an array of all registered and discovered tool instances.
438 */
439 getAllTools(): AnyDeclarativeTool[] {
440 return Array.from(this.tools.values()).sort((a, b) =>
441 a.displayName.localeCompare(b.displayName),
442 );
443 }
444
445 /**
446 * Returns an array of tools registered from a specific MCP server.

Callers 4

toolsCommand.tsFile · 0.80
getMcpStatusFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected