(name: string, input: Record<string, unknown>)
| 41 | }, |
| 42 | |
| 43 | async execute(name: string, input: Record<string, unknown>): Promise<ExecuteResult> { |
| 44 | return fetchJson(`/api/tools/${encodeURIComponent(name)}/execute`, { |
| 45 | method: 'POST', |
| 46 | headers, |
| 47 | body: JSON.stringify(input), |
| 48 | }) |
| 49 | }, |
| 50 | } |
no test coverage detected