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

Function findTool

packages/plugins/mcp/src/sdk/elicitation.test.ts:80–81  ·  view source on GitHub ↗
(tools: readonly Tool[], name: string)

Source from the content-addressed store, hash-verified

78 );
79
80const findTool = (tools: readonly Tool[], name: string): Tool =>
81 tools.find((t) => String(t.name) === name)!;
82
83// ---------------------------------------------------------------------------
84// Tests — everything goes through executor.execute()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected