Function
callTool
(ctx: CliContext, path: readonly string[], args: unknown = {})
Source from the content-addressed store, hash-verified
| 93 | }; |
| 94 | |
| 95 | const callTool = (ctx: CliContext, path: readonly string[], args: unknown = {}) => |
| 96 | runCli(ctx, [ |
| 97 | "call", |
| 98 | ...path, |
| 99 | JSON.stringify(args), |
| 100 | "--base-url", |
| 101 | ctx.baseUrl, |
| 102 | "--scope", |
| 103 | ctx.scopeDir, |
| 104 | ]); |
| 105 | |
| 106 | const approvePausedCall = async (ctx: CliContext, paused: CliResult): Promise<CliResult> => { |
| 107 | const executionId = extractExecutionId(paused.text); |