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

Function toolAddress

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

Source from the content-addressed store, hash-verified

247 ConnectionAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}`);
248
249export const toolAddress = (
250 owner: Owner,
251 integration: IntegrationSlug,
252 connection: ConnectionName,
253 tool: ToolName,
254): ToolAddress =>
255 ToolAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}.${tool}`);
256
257// ---------------------------------------------------------------------------
258// 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