UNPKG

puppeteer-vision-mcp-server

Version:

MCP Server for scraping webpages and converting to markdown

34 lines 760 B
export interface AIAction { action: 'click' | 'scroll' | 'type' | 'wait' | 'none'; targetText?: string; targetSelector?: string; inputText?: string; scrollAmount?: number; waitTime?: number; reason?: string; } export interface WebpageScrapeOptions { url: string; autoInteract?: boolean; maxInteractionAttempts?: number; waitForNetworkIdle?: boolean; } export interface ScrapeResult { data?: string; error?: { message: string; }; } export interface ToolResponse { content: { type: "text"; text: string; }[]; metadata?: { message: string; success: boolean; contentSize?: number; }; isError?: boolean; } //# sourceMappingURL=index.d.ts.map