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

Function toolsListBody

e2e/cloud/mcp-sse-replay.test.ts:41–46  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

39});
40
41const toolsListBody = (id: number) => ({
42 jsonrpc: "2.0" as const,
43 id,
44 method: "tools/list",
45 params: {},
46});
47
48const mcpHeaders = (bearer: string, sessionId?: string) => ({
49 accept: JSON_AND_SSE,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected