MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / filterExposedTools

Function filterExposedTools

src/visibility/exposure.ts:92–97  ·  view source on GitHub ↗
(
  tools: ToolManifestEntry[],
  ctx: PredicateContext,
)

Source from the content-addressed store, hash-verified

90 * Filter tools based on exposure rules.
91 */
92export function filterExposedTools(
93 tools: ToolManifestEntry[],
94 ctx: PredicateContext,
95): ToolManifestEntry[] {
96 return tools.filter((tool) => isToolExposedForRuntime(tool, ctx));
97}
98
99/**
100 * Filter workflows based on exposure rules.

Callers 1

exposure.test.tsFile · 0.90

Calls 1

isToolExposedForRuntimeFunction · 0.85

Tested by

no test coverage detected