donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
12 lines • 708 B
TypeScript
import type { z } from 'zod/v4';
import type { ToolCallContext } from '../models/ToolCallContext';
import type { ToolCallResult } from '../models/ToolCallResult';
import { BaseGptArgsSchema, NoArgsSchema } from '../models/ToolSchema';
import { Tool } from './Tool';
export declare class SaveWebpageAsPdfTool extends Tool<typeof NoArgsSchema, typeof BaseGptArgsSchema> {
static readonly NAME = "saveWebpageAsPdf";
constructor();
call(context: ToolCallContext, _parameters: z.infer<typeof NoArgsSchema>): Promise<ToolCallResult>;
callFromGpt(context: ToolCallContext, _parameters: z.infer<typeof BaseGptArgsSchema>): Promise<ToolCallResult>;
}
//# sourceMappingURL=SaveWebpageAsPdfTool.d.ts.map