UNPKG

donobu

Version:

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

17 lines 804 B
import type { z } from 'zod/v4'; import type { CustomTool } from '../models/CustomTool'; import type { ToolCallContext } from '../models/ToolCallContext'; import type { ToolCallResult } from '../models/ToolCallResult'; import { Tool } from './Tool'; /** * This is a special Tool implementation that wraps a CustomTool to be used in a * flow. */ export declare class CustomToolRunnerTool extends Tool<z.ZodObject, // Dynamic schema based on CustomTool.inputSchema z.ZodObject> { private readonly javascript; constructor(customTool: CustomTool); call(context: ToolCallContext, parameters: z.infer<z.ZodObject>): Promise<ToolCallResult>; callFromGpt(context: ToolCallContext, parameters: z.infer<z.ZodObject>): Promise<ToolCallResult>; } //# sourceMappingURL=CustomToolRunnerTool.d.ts.map