UNPKG

donobu

Version:

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

11 lines 661 B
import type { z } from 'zod/v4'; import type { PluginDependencies } from '../managers/PluginLoader'; import type { CreateToolOptions } from '../models/CreateToolOptions'; import type { Tool } from '../tools/Tool'; /** * Factory function to create a Donobu Tool instance for Donobu plugins. * * See https://www.npmjs.com/package/create-donobu-plugin for details. */ export declare function createTool<CallSchema extends z.ZodObject<any>, CallFromGptSchema extends z.ZodObject<any> = CallSchema>(deps: PluginDependencies, options: CreateToolOptions<CallSchema, CallFromGptSchema>): Tool<CallSchema, CallFromGptSchema>; //# sourceMappingURL=createTool.d.ts.map