donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
20 lines • 1.03 kB
TypeScript
import { z } from 'zod/v4';
import type { ToolCallContext } from '../models/ToolCallContext';
import type { ToolCallResult } from '../models/ToolCallResult';
import { Tool } from './Tool';
export declare const AnalyzePageTextCoreParameters: z.ZodObject<{
analysisToRun: z.ZodString;
additionalRelevantContext: z.ZodString;
}, z.core.$strip>;
export declare const AnalyzePageTextGptParameters: z.ZodObject<{
analysisToRun: z.ZodString;
additionalRelevantContext: z.ZodString;
rationale: z.ZodString;
}, z.core.$strip>;
export declare class AnalyzePageTextTool extends Tool<typeof AnalyzePageTextCoreParameters, typeof AnalyzePageTextGptParameters> {
static readonly NAME = "analyzePageText";
constructor();
call(context: ToolCallContext, parameters: z.infer<typeof AnalyzePageTextCoreParameters>): Promise<ToolCallResult>;
callFromGpt(context: ToolCallContext, parameters: z.infer<typeof AnalyzePageTextGptParameters>): Promise<ToolCallResult>;
}
//# sourceMappingURL=AnalyzePageTextTool.d.ts.map