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