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

Function toSearchableTool

packages/core/execution/src/tool-invoker.ts:459–464  ·  view source on GitHub ↗
(tool: Tool)

Source from the content-addressed store, hash-verified

457};
458
459const toSearchableTool = (tool: Tool): SearchableTool => ({
460 path: addressToPath(String(tool.address)),
461 integration: String(tool.integration),
462 name: String(tool.name),
463 description: tool.description,
464});
465
466type PreparedField = {
467 readonly raw: string;

Callers

nothing calls this directly

Calls 1

addressToPathFunction · 0.85

Tested by

no test coverage detected