donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
21 lines • 937 B
TypeScript
import { z } from 'zod/v4';
import type { ToolCallContext } from '../models/ToolCallContext';
import type { ToolCallResult } from '../models/ToolCallResult';
import { Tool } from './Tool';
export declare const MakeCommentCoreSchema: z.ZodObject<{
comment: z.ZodString;
}, z.core.$strip>;
export declare const MakeCommentGptSchema: z.ZodObject<{
comment: z.ZodString;
rationale: z.ZodString;
}, z.core.$strip>;
/**
* Tool for making a comment during course of the flow.
*/
export declare class MakeCommentTool extends Tool<typeof MakeCommentCoreSchema, typeof MakeCommentGptSchema> {
static readonly NAME = "makeComment";
constructor();
call(_context: ToolCallContext, parameters: z.infer<typeof MakeCommentCoreSchema>): Promise<ToolCallResult>;
callFromGpt(_context: ToolCallContext, parameters: z.infer<typeof MakeCommentGptSchema>): Promise<ToolCallResult>;
}
//# sourceMappingURL=MakeCommentTool.d.ts.map