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

Function listTools

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

Source from the content-addressed store, hash-verified

332 };
333
334 const listTools = () =>
335 Effect.promise(async () => {
336 const listed = await (await client()).listTools();
337 return listed.tools.map((tool) => tool.name);
338 });
339
340 const call = (name: string, args: Record<string, unknown> = {}) =>
341 Effect.promise(async (): Promise<McpCallResult> => {

Callers

nothing calls this directly

Calls 2

runtimeFunction · 0.85
clientFunction · 0.70

Tested by

no test coverage detected