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

Function toolAddress

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

Source from the content-addressed store, hash-verified

322 ConnectionAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}`);
323
324export const toolAddress = (
325 owner: Owner,
326 integration: IntegrationSlug,
327 connection: ConnectionName,
328 tool: ToolName,
329): ToolAddress =>
330 ToolAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}.${tool}`);
331
332// ---------------------------------------------------------------------------
333// 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