UNPKG

donobu

Version:

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

18 lines 936 B
import { z } from 'zod/v4'; import type { ToolCallContext } from '../models/ToolCallContext'; import { ToolCallResult } from '../models/ToolCallResult'; import { Tool } from './Tool'; export declare const ChangeWebBrowserTabCoreSchema: z.ZodObject<{ tabUrl: z.ZodString; }, z.core.$strip>; export declare const ChangeWebBrowserTabGptSchema: z.ZodObject<{ tabUrl: z.ZodString; rationale: z.ZodString; }, z.core.$strip>; export declare class ChangeWebBrowserTabTool extends Tool<typeof ChangeWebBrowserTabCoreSchema, typeof ChangeWebBrowserTabGptSchema> { static readonly NAME = "changeWebBrowserTab"; constructor(); call(context: ToolCallContext, parameters: z.infer<typeof ChangeWebBrowserTabCoreSchema>): Promise<ToolCallResult>; callFromGpt(context: ToolCallContext, parameters: z.infer<typeof ChangeWebBrowserTabGptSchema>): Promise<ToolCallResult>; } //# sourceMappingURL=ChangeWebBrowserTabTool.d.ts.map