donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
19 lines • 926 B
TypeScript
import { z } from 'zod/v4';
import type { ToolCallContext } from '../models/ToolCallContext';
import type { ToolCallResult } from '../models/ToolCallResult';
import { NoArgsSchema } from '../models/ToolSchema';
import { Tool } from './Tool';
export declare const MarkObjectiveCompleteGptSchema: z.ZodObject<{
details: z.ZodString;
rationale: z.ZodString;
}, z.core.$strip>;
/**
* Tool for marking the overall objective as complete
*/
export declare class MarkObjectiveCompleteTool extends Tool<typeof NoArgsSchema, typeof MarkObjectiveCompleteGptSchema> {
static readonly NAME = "markObjectiveComplete";
constructor();
call(context: ToolCallContext, _parameters: z.infer<typeof NoArgsSchema>): Promise<ToolCallResult>;
callFromGpt(context: ToolCallContext, parameters: z.infer<typeof MarkObjectiveCompleteGptSchema>): Promise<ToolCallResult>;
}
//# sourceMappingURL=MarkObjectiveCompleteTool.d.ts.map