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

Function getToolTier

src/tools/toolPolicy.ts:257–259  ·  view source on GitHub ↗
(toolName: string)

Source from the content-addressed store, hash-verified

255}
256
257export function getToolTier(toolName: string): ToolTier | undefined {
258 return getToolPolicy(toolName)?.tier
259}
260
261export function getToolNamesByTier(tier: ToolTier): string[] {
262 return Object.entries(TOOL_POLICY_BY_NAME)

Callers 3

sortToolsByPolicyFunction · 0.85
toolPolicy.test.tsFile · 0.85

Calls 1

getToolPolicyFunction · 0.85

Tested by

no test coverage detected