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

Function toolAddress

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

Source from the content-addressed store, hash-verified

341 ConnectionAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}`);
342
343export const toolAddress = (
344 owner: Owner,
345 integration: IntegrationSlug,
346 connection: ConnectionName,
347 tool: ToolName,
348): ToolAddress =>
349 ToolAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}.${tool}`);
350
351// ---------------------------------------------------------------------------
352// 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