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

Function getToolNamesByTier

src/tools/toolPolicy.ts:261–266  ·  view source on GitHub ↗
(tier: ToolTier)

Source from the content-addressed store, hash-verified

259}
260
261export function getToolNamesByTier(tier: ToolTier): string[] {
262 return Object.entries(TOOL_POLICY_BY_NAME)
263 .filter(([, policy]) => policy.tier === tier)
264 .map(([toolName]) => toolName)
265 .sort((a, b) => a.localeCompare(b))
266}
267
268export function getPrimaryDirectToolNames(): string[] {
269 return ['Bash', 'Read', 'Edit', 'Write', 'NotebookEdit']

Callers 1

toolPolicy.test.tsFile · 0.85

Calls 1

entriesMethod · 0.80

Tested by

no test coverage detected