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

Function toSearchableTool

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

Source from the content-addressed store, hash-verified

486};
487
488const toSearchableTool = (tool: Tool): SearchableTool => ({
489 path: addressToPath(String(tool.address)),
490 integration: String(tool.integration),
491 name: String(tool.name),
492 description: tool.description,
493});
494
495type PreparedField = {
496 readonly raw: string;

Callers

nothing calls this directly

Calls 1

addressToPathFunction · 0.85

Tested by

no test coverage detected