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

Function toolAddress

packages/core/sdk/src/executor.ts:250–256  ·  view source on GitHub ↗
(
  owner: Owner,
  integration: IntegrationSlug,
  connection: ConnectionName,
  tool: ToolName,
)

Source from the content-addressed store, hash-verified

248 ConnectionAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}`);
249
250export const toolAddress = (
251 owner: Owner,
252 integration: IntegrationSlug,
253 connection: ConnectionName,
254 tool: ToolName,
255): ToolAddress =>
256 ToolAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}.${tool}`);
257
258// ---------------------------------------------------------------------------
259// Owner key helpers — every owned-row write stamps `tenant`, `owner`,

Callers 1

rowToToolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected