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

Function listTools

e2e/src/surfaces/mcp.ts:349–353  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347 };
348
349 const listTools = () =>
350 Effect.promise(async () => {
351 const listed = await (await client()).listTools();
352 return listed.tools.map((tool) => tool.name);
353 });
354
355 const call = (name: string, args: Record<string, unknown> = {}) =>
356 Effect.promise(async (): Promise<McpCallResult> => {

Callers

nothing calls this directly

Calls 2

runtimeFunction · 0.85
clientFunction · 0.70

Tested by

no test coverage detected