donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
21 lines • 686 B
TypeScript
import { Request, Response } from 'express';
import { Tool } from '../tools/Tool';
import { JSONSchema7 } from 'json-schema';
export type SupportedTool = {
name: string;
description: string;
inputSchema: JSONSchema7;
};
/**
* This class reports a subset of Tools supported, to the frontend. This is a subset of all
* supported tool calls.
*/
export declare class ToolsApi {
private readonly reportedSupportedTools;
constructor(reportedSupportedTools: Tool<any, any>[]);
/**
* GET endpoint handler that returns the supported tools as JSON
*/
getSupportedTools(_req: Request, res: Response): Promise<void>;
}
//# sourceMappingURL=ToolsApi.d.ts.map