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

Function toSearchableTool

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

Source from the content-addressed store, hash-verified

419};
420
421const toSearchableTool = (tool: Tool): SearchableTool => ({
422 path: addressToPath(String(tool.address)),
423 integration: String(tool.integration),
424 name: String(tool.name),
425 description: tool.description,
426});
427
428type PreparedField = {
429 readonly raw: string;

Callers

nothing calls this directly

Calls 1

addressToPathFunction · 0.85

Tested by

no test coverage detected