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

Function toolAddress

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

Source from the content-addressed store, hash-verified

229 ConnectionAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}`);
230
231export const toolAddress = (
232 owner: Owner,
233 integration: IntegrationSlug,
234 connection: ConnectionName,
235 tool: ToolName,
236): ToolAddress =>
237 ToolAddress.make(`${ADDRESS_PREFIX}.${integration}.${owner}.${connection}.${tool}`);
238
239// ---------------------------------------------------------------------------
240// 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