UNPKG

donobu

Version:

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

39 lines 1.05 kB
import { ToolCallResult } from './ToolCallResult'; /** * The record for a singular call for a tool. This is used for persistence and APIs. */ export type ToolCall = { /** * The ID for this singular call. */ readonly id: string; /** * The tool name of the tool called. */ readonly toolName: string; /** * The parameters supplied to the tool. */ readonly parameters: any; /** * The result of the tool call. */ readonly outcome: ToolCallResult; /** * The ID of the image of the page after the tool was called. */ readonly postCallImageId: string; /** * The URL of the webpage that the tool had focus on when running. */ readonly page: string; /** * The Unix epoch millisecond timestamp of the instant the tool was called. */ readonly startedAt: number; /** * The Unix epoch millisecond timestamp of the instant the tool completed. */ readonly completedAt: number; }; //# sourceMappingURL=ToolCall.d.ts.map