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

Function byName

e2e/scenarios/tool-descriptions.test.ts:480–481  ·  view source on GitHub ↗
(tools: readonly ToolSnapshot[], name: string)

Source from the content-addressed store, hash-verified

478 // Lock the channels that flow today; the artifact is the review
479 // surface for the ones that don't (yet).
480 const byName = (tools: readonly ToolSnapshot[], name: string) =>
481 tools.find((tool) => tool.name === name);
482
483 const getOrder = byName(openapiTools, "orders.getOrder");
484 expect(getOrder?.listDescription, "operation description reaches the tool").toBe(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected