UNPKG

donobu

Version:

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

21 lines 653 B
/** * Response wrapper object for a tool call. */ export type ToolCallResult = { /** Indicates if the tool call should be considered a success */ isSuccessful: boolean; /** The data to return back to the LLM so that it knows the outcome of this tool call */ forLlm: string; /** Metadata to record, but will not be shared with the LLM */ metadata: Record<string, unknown> | null; }; /** * Factory functions for creating ToolCallResult objects */ export declare const ToolCallResult: { /** * Creates a successful ToolCallResult. */ successful(): ToolCallResult; }; //# sourceMappingURL=ToolCallResult.d.ts.map