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

Function fullToolKey

packages/core/sdk/src/migration-spec.ts:221–221  ·  view source on GitHub ↗
(sourceId: string, toolName: string)

Source from the content-addressed store, hash-verified

219const runtimeStorageKey = (scopeId: string, key: string): string => `${scopeId}\0${key}`;
220
221const fullToolKey = (sourceId: string, toolName: string): string => `${sourceId}.${toolName}`;
222
223const stripToolPrefix = (sourceId: string, toolId: string): string =>
224 toolId.startsWith(`${sourceId}.`) ? toolId.slice(sourceId.length + 1) : toolId;

Callers 2

migrateV1ToolAnnotationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected