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

Function toSearchableTool

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

Source from the content-addressed store, hash-verified

465};
466
467const toSearchableTool = (tool: Tool): SearchableTool => ({
468 path: addressToPath(String(tool.address)),
469 integration: String(tool.integration),
470 name: String(tool.name),
471 description: tool.description,
472});
473
474type PreparedField = {
475 readonly raw: string;

Callers

nothing calls this directly

Calls 1

addressToPathFunction · 0.85

Tested by

no test coverage detected