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

Function toolToOutput

packages/core/sdk/src/core-tools.ts:434–442  ·  view source on GitHub ↗
(toolRow: Tool)

Source from the content-addressed store, hash-verified

432 (last?.status === "expired" || last?.status === "degraded") && !isToolSyncHealth(last);
433
434const toolToOutput = (toolRow: Tool) => ({
435 address: String(toolRow.address),
436 owner: toolRow.owner,
437 integration: String(toolRow.integration),
438 connection: String(toolRow.connection),
439 name: String(toolRow.name),
440 pluginId: toolRow.pluginId,
441 description: toolRow.description,
442});
443
444const connectionRefFromInput = (input: typeof ConnectionRefInput.Type) => ({
445 owner: input.owner as Owner,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected