UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

20 lines 900 B
import { Tool } from './Tool'; import { ToolCallContext } from '../models/ToolCallContext'; import { ToolCallResult } from '../models/ToolCallResult'; import { BaseToolGptParameters } from '../models/BaseToolGptParameters'; interface DownloadPdfToolCoreParameters { /** * The URL of the PDF file to be downloaded. */ url: string; } interface DownloadPdfToolGptParameters extends BaseToolGptParameters, DownloadPdfToolCoreParameters { } export declare class DownloadPdfTool extends Tool<DownloadPdfToolCoreParameters, DownloadPdfToolGptParameters> { static readonly NAME = "downloadPdf"; constructor(); call(context: ToolCallContext, parameters: DownloadPdfToolCoreParameters): Promise<ToolCallResult>; callFromGpt(context: ToolCallContext, parameters: DownloadPdfToolGptParameters): Promise<ToolCallResult>; } export {}; //# sourceMappingURL=DownloadPdfTool.d.ts.map