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

Function sortToolNames

src/tools/toolInventory.ts:81–85  ·  view source on GitHub ↗
(names: Iterable<string>)

Source from the content-addressed store, hash-verified

79}
80
81function sortToolNames(names: Iterable<string>): string[] {
82 return sortToolsByPolicy([...new Set(names)].map(name => ({ name }))).map(
83 tool => tool.name,
84 )
85}
86
87export function buildToolInventory({
88 baseTools,

Callers 1

buildToolInventoryFunction · 0.70

Calls 1

sortToolsByPolicyFunction · 0.85

Tested by

no test coverage detected