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

Function toSearchableTool

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

Source from the content-addressed store, hash-verified

470};
471
472const toSearchableTool = (tool: Tool): SearchableTool => ({
473 path: addressToPath(String(tool.address)),
474 integration: String(tool.integration),
475 name: String(tool.name),
476 description: tool.description,
477});
478
479type PreparedField = {
480 readonly raw: string;

Callers

nothing calls this directly

Calls 1

addressToPathFunction · 0.85

Tested by

no test coverage detected