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

Function listTools

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

Source from the content-addressed store, hash-verified

321 };
322
323 const listTools = () =>
324 Effect.promise(async () => {
325 const listed = await (await client()).listTools();
326 return listed.tools.map((tool) => tool.name);
327 });
328
329 const call = (name: string, args: Record<string, unknown> = {}) =>
330 Effect.promise(async (): Promise<McpCallResult> => {

Callers

nothing calls this directly

Calls 2

runtimeFunction · 0.85
clientFunction · 0.70

Tested by

no test coverage detected