UNPKG

donobu

Version:

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

15 lines 606 B
import { ToolCall } from '../models/ToolCall'; import { ToolCallContext } from '../models/ToolCallContext'; import { Tool } from '../tools/Tool'; /** * Manages calls to a given list of tools. */ export declare class ToolManager { readonly tools: Tool<any, any>[]; static readonly ALL_TOOLS: Tool<any, any>[]; static readonly DEFAULT_TOOLS: Tool<any, any>[]; constructor(tools: Tool<any, any>[]); invokeTool(context: ToolCallContext, toolName: string, toolParameters: any, isFromGpt: boolean): Promise<ToolCall>; private executeToolCall; } //# sourceMappingURL=ToolManager.d.ts.map