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

Function buildDescribeToolCode

apps/cli/src/tooling.ts:421–422  ·  view source on GitHub ↗
(toolPath: string)

Source from the content-addressed store, hash-verified

419};
420
421export const buildDescribeToolCode = (toolPath: string): string =>
422 `return await tools.describe.tool({ path: ${JSON.stringify(toolPath)} });`;
423
424export const buildInvokeToolCode = (toolPath: string, args: Record<string, unknown>): string => {
425 const access = buildToolAccessExpression(toolPath);

Callers 1

main.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected