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

Function toolNames

packages/hosts/mcp/src/artifacts-tools.test.ts:183–184  ·  view source on GitHub ↗
(client: Client)

Source from the content-addressed store, hash-verified

181 (result.content as Array<{ type: string; text: string }>)[0].text;
182
183const toolNames = async (client: Client): Promise<string[]> =>
184 (await client.listTools()).tools.map((tool) => tool.name);
185
186const COUNTER_CODE = "function App() { return <div>hi</div>; }";
187const UPDATED_CODE = "function App() { return <div>hi again</div>; }";

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected