(name: string)
| 37 | }, |
| 38 | |
| 39 | async detail(name: string): Promise<ToolDetail> { |
| 40 | return fetchJson(`/api/tools/${encodeURIComponent(name)}`) |
| 41 | }, |
| 42 | |
| 43 | async execute(name: string, input: Record<string, unknown>): Promise<ExecuteResult> { |
| 44 | return fetchJson(`/api/tools/${encodeURIComponent(name)}/execute`, { |
nothing calls this directly
no test coverage detected