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

Function findTool

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected