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

Function toolToResponse

packages/core/api/src/handlers/connections.ts:35–43  ·  view source on GitHub ↗
(t: Tool)

Source from the content-addressed store, hash-verified

33});
34
35const toolToResponse = (t: Tool) => ({
36 address: String(t.address),
37 owner: t.owner,
38 integration: t.integration,
39 connection: t.connection,
40 name: String(t.name),
41 pluginId: t.pluginId,
42 description: t.description,
43});
44
45const toHealthResponse = (r: HealthCheckResult) => ({
46 status: r.status,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected