MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / normalizedPolicyId

Function normalizedPolicyId

packages/core/sdk/src/executor.ts:3811–3814  ·  view source on GitHub ↗
(tool: Tool)

Source from the content-addressed store, hash-verified

3809 // which connection serves it; the org/user split is handled by owner-scoped
3810 // policy rows + ownerRank, not the match pattern.
3811 const normalizedPolicyId = (tool: Tool): string =>
3812 tool.static
3813 ? String(tool.address)
3814 : `${tool.integration}.${tool.owner}.${tool.connection}.${tool.name}`;
3815
3816 const policiesList = (): Effect.Effect<readonly ToolPolicy[], StorageFailure> =>
3817 core

Callers 3

toolsListFunction · 0.85
toolSchemaFunction · 0.85
executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected