donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
22 lines • 710 B
TypeScript
import type { Request, Response } from 'express';
import type { JSONSchema } from 'zod/v4/core';
import type { ToolRegistry } from '../managers/ToolRegistry';
export type SupportedTool = {
name: string;
description: string;
inputSchema: JSONSchema.BaseSchema;
requiresGpt: boolean;
supportedTargets: string[];
};
/**
* This class reports the tools supported by the Donobu runtime.
*/
export declare class ToolsApi {
private readonly toolRegistry;
constructor(toolRegistry: ToolRegistry);
/**
* GET endpoint handler that returns the supported tools as JSON
*/
getSupportedTools(req: Request, res: Response): Promise<void>;
}
//# sourceMappingURL=ToolsApi.d.ts.map