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

Function joinToolPath

packages/plugins/mcp/src/sdk/manifest.ts:96–97  ·  view source on GitHub ↗
(namespace: string | undefined, toolId: string)

Source from the content-addressed store, hash-verified

94// ---------------------------------------------------------------------------
95
96export const joinToolPath = (namespace: string | undefined, toolId: string): string =>
97 namespace?.trim() ? `${namespace}.${toolId}` : toolId;
98
99export const extractManifestFromListToolsResult = (
100 listToolsResult: unknown,

Callers 1

plugin.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected