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

Function use

packages/plugins/mcp/src/sdk/invoke.ts:465–466  ·  view source on GitHub ↗
(connection: McpConnection)

Source from the content-addressed store, hash-verified

463 Effect.gen(function* () {
464 const args = argsRecord(input.args);
465 const use = (connection: McpConnection) =>
466 useConnection(connection, input.toolName, args, input.elicit, input.onToolListChanged);
467
468 if (input.connectionPool && input.connectionPoolKey) {
469 return yield* input.connectionPool.withConnection(

Callers 4

invokeMcpToolFunction · 0.70
runFunction · 0.70
withServerFunction · 0.70
withProbeFunction · 0.50

Calls 1

useConnectionFunction · 0.85

Tested by 2

withServerFunction · 0.56
withProbeFunction · 0.40