MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / toolCall

Function toolCall

__tests__/proxy-shutdown.test.ts:31–31  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

29const line = (msg: object): string => JSON.stringify({ jsonrpc: '2.0', ...msg }) + '\n';
30const INITIALIZE = line({ id: 1, method: 'initialize', params: {} });
31const toolCall = (id: number): string => line({ id, method: 'tools/call', params: { name: 'test', arguments: {} } });
32
33/** Shared by every scenario: the proxy, with markers on stdout. */
34const PRELUDE = `

Callers 1

Calls 1

lineFunction · 0.70

Tested by

no test coverage detected