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

Function getToolPolicy

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

Source from the content-addressed store, hash-verified

251}
252
253export function getToolPolicy(toolName: string): ToolPolicy | undefined {
254 return TOOL_POLICY_BY_NAME[toolName as keyof typeof TOOL_POLICY_BY_NAME]
255}
256
257export function getToolTier(toolName: string): ToolTier | undefined {
258 return getToolPolicy(toolName)?.tier

Callers 7

toModelToolSurfaceEntryFunction · 0.85
compareEntriesFunction · 0.85
buildToolInventoryFunction · 0.85
getToolTierFunction · 0.85
toolPolicy.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected