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

Function toolNames

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected